Skip to content

Commit

Permalink
fix: import doesn't strip directives anymore
Browse files Browse the repository at this point in the history
Fix issues #32
  • Loading branch information
schickling authored Jan 6, 2018
2 parents c8c4aef + c93364b commit 9537172
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ function filterTypeDefinitions(
definitions: DefinitionNode[]
): TypeDefinitionNode[] {
const validKinds = [
'DirectiveDefinition',
'ScalarTypeDefinition',
'ObjectTypeDefinition',
'InterfaceTypeDefinition',
Expand Down

0 comments on commit 9537172

Please sign in to comment.