Skip to content

Commit 54bd07f

Browse files
committed
isolatedModules and preserving type clause
1 parent f3361cb commit 54bd07f

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

src/schema/connections.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import { getObjectsFromUrls } from './apiHelper';
1818

1919
import { GraphQLInt, GraphQLList } from 'graphql';
2020

21-
import { GraphQLObjectType, GraphQLFieldConfig } from 'graphql';
21+
import type { GraphQLObjectType, GraphQLFieldConfig } from 'graphql';
2222

2323
/**
2424
* Constructs a GraphQL connection field config; it is assumed

src/schema/relayNode.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
import { getObjectFromTypeAndId } from './apiHelper';
1111

12-
import { GraphQLObjectType } from 'graphql';
12+
import type { GraphQLObjectType } from 'graphql'
1313

1414
import { nodeDefinitions, fromGlobalId } from 'graphql-relay';
1515

tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"sourceMap": true,
1212
"strict": true,
1313
"noImplicitAny": true,
14+
"isolatedModules": true,
1415
"strictNullChecks": true,
1516
"strictFunctionTypes": true,
1617
"strictPropertyInitialization": true,

0 commit comments

Comments
 (0)