Closed
Description
openedon Dec 16, 2023
Porting from RTK Toolkit 1.9.7 to 2.0.1 I get the following problem for my RTK Query endpoints when exporting the generated hooks.
E.g.,
The inferred type of 'useLazyGetNlpQuery' cannot be named without a reference to '../../../../node_modules/@reduxjs/toolkit/dist/query/react/buildHooks.js'. This is likely not portable. A type annotation is necessary.ts(2742)
This error occurs on all endpoints, not just this one. I do not import or use buildHooks anywhere in my code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
No labels