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
but when i use import {Test} from 'file.graphql' typescript says it can't import graphql files. I don't want to use any because seems hacky and i'm using strict mode but there's a way or i have to define in the declarations (d.ts) files ?
The text was updated successfully, but these errors were encountered:
Hi guys,
There's a way to define named exports for
fragments
andqueries
as says in the docs without giving typescript error. Currently i'm using:but when i use
import {Test} from 'file.graphql'
typescript says it can't importgraphql
files. I don't want to useany
because seems hacky and i'm usingstrict mode
but there's a way or i have to define in the declarations (d.ts
) files ?The text was updated successfully, but these errors were encountered: