File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -8,15 +8,15 @@ import { createActionDecorator } from './action-related'
88export * from './action-related'
99
1010interface DecoratorReturnType < V > {
11- ( target : any , propertyKey : string , descriptor : { value ?: V ; get ? ( ) : V } ) : void
11+ ( target : any , propertyKey : string , descriptor : { value ?: V } ) : void
1212}
1313
1414export const ImmerReducer : < S = any > ( ) => DecoratorReturnType <
15- ( state : Draft < S > , params ? : any ) => void
15+ ( state : Draft < S > , params : any ) => undefined | void
1616> = createActionDecorator ( immerReducerSymbols )
1717
1818export const Reducer : < S = any > ( ) => DecoratorReturnType <
19- ( state : S , params ? : any ) => S
19+ ( state : S , params : any ) => S
2020> = createActionDecorator ( reducerSymbols )
2121
2222export const Effect : < A = any , S = any > ( ) => DecoratorReturnType <
You can’t perform that action at this time.
0 commit comments