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