Skip to content

Commit

Permalink
Switch unused imports to type imports (#2674)
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanGoncharov committed Jun 24, 2020
1 parent ce3cc24 commit 2232ebd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/utilities/findDeprecatedUsages.js
@@ -1,6 +1,6 @@
// @flow strict

import { GraphQLError } from '../error/GraphQLError';
import type { GraphQLError } from '../error/GraphQLError';

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

Expand Down
2 changes: 1 addition & 1 deletion src/utilities/printSchema.js
Expand Up @@ -9,6 +9,7 @@ import { print } from '../language/printer';
import { printBlockString } from '../language/blockString';

import type { GraphQLSchema } from '../type/schema';
import type { GraphQLDirective } from '../type/directives';
import type {
GraphQLNamedType,
GraphQLScalarType,
Expand All @@ -21,7 +22,6 @@ import type {
import { isIntrospectionType } from '../type/introspection';
import { GraphQLString, isSpecifiedScalarType } from '../type/scalars';
import {
GraphQLDirective,
DEFAULT_DEPRECATION_REASON,
isSpecifiedDirective,
} from '../type/directives';
Expand Down

0 comments on commit 2232ebd

Please sign in to comment.