interface icon indicating copy to clipboard operation
interface copied to clipboard

Failed to compile

Open VegaSwapSOR opened this issue 2 years ago • 0 comments


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 |  *

VegaSwapSOR avatar May 07 '23 09:05 VegaSwapSOR