actions can be nulls
This commit is contained in:
parent
e19b1755d1
commit
25fa029899
@ -9,7 +9,7 @@ vars:
|
||||
tasks:
|
||||
release:gitea:
|
||||
cmds:
|
||||
- tea releases create -asset releases/updux-v{{.VERSION}}.tgz -p --title v{{.VERSION}} --tag v{{.VERSION}}
|
||||
- tea releases create -asset releases/updux-{{.VERSION}}.tgz -p --title v{{.VERSION}} --tag v{{.VERSION}}
|
||||
vars:
|
||||
VERSION: { sh: 'npm version --json | jq -r .updux' }
|
||||
prerelease:
|
||||
|
@ -11,7 +11,7 @@ import Updux from './Updux.js';
|
||||
export type DuxConfig = Partial<{
|
||||
initialState: any;
|
||||
subduxes: Record<string, DuxConfig>;
|
||||
actions: Record<string, ActionCreator<string> | Function>;
|
||||
actions: Record<string, ActionCreator<string> | Function | null>;
|
||||
selectors: Record<string, Function>;
|
||||
effects: EffectMiddleware<any>[];
|
||||
reactions: DuxReaction<any>[];
|
||||
|
Loading…
Reference in New Issue
Block a user