Initial commit from monorepo
This commit is contained in:
10
.storybook/shims/graphql-typed-document-node-core.ts
Normal file
10
.storybook/shims/graphql-typed-document-node-core.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
// Minimal runtime shim so Vite/Storybook can resolve generated GraphQL imports.
|
||||
import type { DocumentNode } from 'graphql'
|
||||
|
||||
export type TypedDocumentNode<TResult = any, TVariables = Record<string, any>> = DocumentNode & {
|
||||
__resultType?: TResult
|
||||
__variablesType?: TVariables
|
||||
}
|
||||
|
||||
// Runtime placeholder; generated files import the symbol but do not use the value.
|
||||
export const TypedDocumentNode = {} as unknown as TypedDocumentNode
|
||||
Reference in New Issue
Block a user