Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to compile #747

Open
VegaSwapSOR opened this issue May 7, 2023 · 0 comments
Open

Failed to compile #747

VegaSwapSOR opened this issue May 7, 2023 · 0 comments

Comments

@VegaSwapSOR
Copy link

VegaSwapSOR commented May 7, 2023


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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant