diff --git a/src/utilities/index.ts b/src/utilities/index.ts index 982779c773..a1411f508e 100644 --- a/src/utilities/index.ts +++ b/src/utilities/index.ts @@ -105,4 +105,4 @@ export { export type { BreakingChange, DangerousChange } from './findBreakingChanges'; /** Wrapper type that contains DocumentNode and types that can be deduced from it. */ -export { TypedQueryDocumentNode } from './typedQueryDocumentNode'; +export type { TypedQueryDocumentNode } from './typedQueryDocumentNode'; diff --git a/tsconfig.json b/tsconfig.json index c76ea4574f..717ecdf631 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -6,6 +6,7 @@ "target": "es2019", "strict": true, "noEmit": true, + "isolatedModules": true, "forceConsistentCasingInFileNames": true } }