File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,5 +3,5 @@ node script/migrator.js
33git add .
44git commit -m " chore: Update migrator"
55yarn release
6- git push origin release --tags
6+ git push origin release --force -- tags
77yarn deploy
Original file line number Diff line number Diff line change @@ -44,17 +44,16 @@ export type ConfigState = {
4444 theme : string
4545}
4646
47- export const setConfigValue : ActionCreator < {
48- key : string
49- value : string | boolean
50- valid : boolean
51- } > = createAction ( "set-config-value" , input => {
52- const rule = ( rules as any ) [ input . key ]
53- return {
54- ...input ,
55- valid : rule . test ( input . value )
47+ export const setConfigValue = createAction (
48+ "set-config-value" ,
49+ ( input : { key : string ; value : number | string | boolean } ) => {
50+ const rule = ( rules as any ) [ input . key ]
51+ return {
52+ ...input ,
53+ valid : rule . test ( input . value )
54+ }
5655 }
57- } )
56+ )
5857
5958const initalState : ConfigState = {
6059 committerName : "" ,
You can’t perform that action at this time.
0 commit comments