Open
Description
I'm implementing the graphql/rtk-query codegen (and it's been great so far).
But I'm having this lingering issue where typescript is complaining that it can't find /GraphqlBaseQueryTypes
. See the below console output:
ERROR in <omitted for privacy>/node_modules/@rtk-query/graphql-request-base-query/dist/index.d.ts(4,50):
TS2307: Cannot find module './GraphqlBaseQueryTypes' or its corresponding type declarations.
Version: typescript 4.1.6
I see the file it's referencing in an adjacent folder:
Manually editing the import it to ../src/GraphqlBaseQueryTypes
makes it work but isn't really a solution.
Is this an issue with my local TS setup or is there something else going on?
Thanks so much, appreciate it.