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
in TypeScript >=2.7 (since this PR), the definition of type[] and [type] are different. [type] also enforces a length of 1 for the array, while type[] just enforces the Array type without length.
in TypeScript >=2.7 (since this PR), the definition of
type[]
and[type]
are different.[type]
also enforces a length of1
for the array, whiletype[]
just enforces the Array type without length.Related to this PR: (fixed the inner array)
#1763
Actual outcome:
Field
types
inIntrospectionResultData
defined as:Intended outcome:
It should be:
How to reproduce the issue:
Use
[email protected]
and defineIntrospectionResultData
with more than one type, for example:As a temporary workaround, it's possible to add
as any
to thetypes
array value.Version
The text was updated successfully, but these errors were encountered: