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
Requires trafficing through outer type parameters on the function expression
Instantiation of these gets deferred
Deferred too long (forever)
Needs to be instantiated with the type parameters of the outer call
PR fixes this to capture the outer type parameters correctly
PR fixes another problem where we captured a candidate of the form A = [A[0]], which would tautologically arrive to the constraint (unknown) and spoil the inference
Because the tuple type and argument form aren't instantiations of the same type
How did this even work in the first place? i.e. What's special about this case?
Read the PR notes; too complex to fit in this margin
The text was updated successfully, but these errors were encountered:
Acknowledgement
Comment
/// <references>
inisolatedDeclarations
react
types directives, seemingly for not much reason since these alsoimport
react
node
jest
vercel/swr/src/core/index.ts
import 'client-only';
env.d.ts
reference path
to be synthesized above it--verbatimReferenceSyntax
?/// <reference path="foo" />
/// <reference path="foo" preserve />
Propagation outer type parameters of single-signature types Propagate outer type parameters of single signature types #57403
A = [A[0]]
, which would tautologically arrive to the constraint (unknown
) and spoil the inferenceThe text was updated successfully, but these errors were encountered: