You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
importlistPrsForFileQueryfrom'./list-prs-for-file.gql';// ^ Error: Cannot find module './list-prs-for-file.gql' or its corresponding type declarations.ts(2307)
Until now I had a simple string type export in my globals.d.ts:
declare module '*.gql'{export=string;}
but I suppose I should let the typed query document take over instead, so I removed that declaration.
The text was updated successfully, but these errors were encountered:
Maybe the solution is hidden behind #1046, but so far I'm not seeing any types with the suggested tsconfig:
Until now I had a simple string type export in my
globals.d.ts
:but I suppose I should let the typed query document take over instead, so I removed that declaration.
The text was updated successfully, but these errors were encountered: