Skip to content

Commit

Permalink
Merge duplicated imports (#1432)
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanGoncharov authored Jul 25, 2018
1 parent 6b95e50 commit fec220b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
9 changes: 3 additions & 6 deletions src/utilities/buildASTSchema.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ import type {
import type { DirectiveLocationEnum } from '../language/directiveLocation';

import type {
GraphQLType,
GraphQLNamedType,
GraphQLFieldConfig,
GraphQLEnumValueConfig,
GraphQLInputField,
} from '../type/definition';
Expand Down Expand Up @@ -72,12 +75,6 @@ import { specifiedScalarTypes } from '../type/scalars';
import { GraphQLSchema } from '../type/schema';
import type { GraphQLSchemaValidationOptions } from '../type/schema';

import type {
GraphQLType,
GraphQLNamedType,
GraphQLFieldConfig,
} from '../type/definition';

export type BuildSchemaOptions = {
...GraphQLSchemaValidationOptions,

Expand Down
3 changes: 2 additions & 1 deletion src/utilities/extendSchema.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ import { isSpecifiedScalarType } from '../type/scalars';
import type { GraphQLSchemaValidationOptions } from '../type/schema';

import type {
GraphQLType,
GraphQLNamedType,
GraphQLArgument,
GraphQLFieldConfigArgumentMap,
} from '../type/definition';
Expand Down Expand Up @@ -47,7 +49,6 @@ import { GraphQLDirective } from '../type/directives';

import { Kind } from '../language/kinds';

import type { GraphQLType, GraphQLNamedType } from '../type/definition';
import type {
DocumentNode,
DirectiveDefinitionNode,
Expand Down

0 comments on commit fec220b

Please sign in to comment.