Skip to content

Commit

Permalink
TS: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanGoncharov committed Jun 1, 2020
1 parent e481a31 commit 52a8366
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fake_definition.ts
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ export function buildWithFakeDefinitions(
if (isObjectType(type) || isInterfaceType(type)) {
for (const field of Object.values(type.getFields())) {
const isExtensionField = field.astNode?.loc?.source === extensionSDL;
(field.extensions['isExtensionField'] as any) = isExtensionField;
(field.extensions as any)['isExtensionField'] = isExtensionField;
}
}
}
Expand Down

0 comments on commit 52a8366

Please sign in to comment.