Skip to content

Commit

Permalink
fix: node 4
Browse files Browse the repository at this point in the history
  • Loading branch information
timsuchanek committed May 22, 2018
1 parent 5739a25 commit b954114
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ function filterImportedDefinitions(
) {
const previousTypeDefinitions: { [key: string]: DefinitionNode } = keyBy(
flatten(allDefinitions.slice(0, allDefinitions.length - 1)).filter(
def => !rootFields.includes(def.name.value),
def => !includes(rootFields, def.name.value),
),
def => def.name.value,
)
Expand Down

0 comments on commit b954114

Please sign in to comment.