Type only import?
#9103
-
I have auto generated types, but the result has: import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core'; Which throws up in storybook, because it should be flagged as a type only import: import type { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core'; Works. Is there a way to tell it to use that syntax? It is really more correct. |
Beta Was this translation helpful? Give feedback.
Answered by
httpete
Mar 4, 2023
Replies: 1 comment 1 reply
-
I found the answer! For anyone else:
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
n1ru4l
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I found the answer! For anyone else: