-
Notifications
You must be signed in to change notification settings - Fork 106
Open
Description
C: ../interface/node_modules/@reduxjs/toolkit/dist/createSlice.d.ts
TypeScript error in C: ../interface/node_modules/@reduxjs/toolkit/dist/createSlice.d.ts(128,125):
'?' expected. TS1005
126 | [K: string]: CaseReducer<State, PayloadAction<any>> | CaseReducerWithPrepare<State, PayloadAction<any, string, any, any>>;
127 | };
> 128 | declare type SliceActionType<SliceName extends string, ActionName extends keyof any> = ActionName extends string | number ? `${SliceName}/${ActionName}` : string;
|
^
129 | /**
130 | * Derives the slice's `actions` property from the `reducers` options
131 | *
Metadata
Metadata
Assignees
Labels
No labels