You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For all unions/interfaces/objects in the GraphQL schema, the generated code includes a "type-guard" called is{name}, which uses a string array {name}_possibleTypes with the type-names implementing the source value. That array implicitly typed, however.
If the schema includes unused interfaces, the array will be empty, and the array is implicitly typed as any[]. If the Typescript compiler setting noImplicitAny is used, that is a compile error.
The text was updated successfully, but these errors were encountered:
For all unions/interfaces/objects in the GraphQL schema, the generated code includes a "type-guard" called
is{name}
, which uses a string array{name}_possibleTypes
with the type-names implementing the source value. That array implicitly typed, however.If the schema includes unused interfaces, the array will be empty, and the array is implicitly typed as
any[]
. If the Typescript compiler setting noImplicitAny is used, that is a compile error.The text was updated successfully, but these errors were encountered: