Skip to content

Commit 2232ebd

Browse files
Switch unused imports to type imports (#2674)
1 parent ce3cc24 commit 2232ebd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/utilities/findDeprecatedUsages.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// @flow strict
22

3-
import { GraphQLError } from '../error/GraphQLError';
3+
import type { GraphQLError } from '../error/GraphQLError';
44

55
import type { DocumentNode } from '../language/ast';
66

src/utilities/printSchema.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import { print } from '../language/printer';
99
import { printBlockString } from '../language/blockString';
1010

1111
import type { GraphQLSchema } from '../type/schema';
12+
import type { GraphQLDirective } from '../type/directives';
1213
import type {
1314
GraphQLNamedType,
1415
GraphQLScalarType,
@@ -21,7 +22,6 @@ import type {
2122
import { isIntrospectionType } from '../type/introspection';
2223
import { GraphQLString, isSpecifiedScalarType } from '../type/scalars';
2324
import {
24-
GraphQLDirective,
2525
DEFAULT_DEPRECATION_REASON,
2626
isSpecifiedDirective,
2727
} from '../type/directives';

0 commit comments

Comments
 (0)