Typescript
Configuration
import { IContext } from 'overmind'
export const config = {}
export type Context = IContext<typeof config>State
type State = {
foo: string
bar: boolean
baz: string[]
user: User
}
export const state: State = {
foo: 'bar',
bar: true,
baz: [],
user: new User()
}Derived
Statemachine
Actions
Effects
Operators
Last updated