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
I'm not even sure what that type means, since it contains the free variable T that only existed in the scope of the function that produced the result. T should've resolved to { foo: { x: 'hello' }, bar: { x: true } }.
This is a minimal repro whittled down from a much larger body of code in our app, and the problem is preventing us from being able to migrate beyond TypeScript 2.5.2.
The text was updated successfully, but these errors were encountered:
TypeScript Version: 2.5.3
Code
Expected behavior:
The type of
results
should beand was, prior to 2.5.3.
Actual behavior:
The type of
results
isI'm not even sure what that type means, since it contains the free variable
T
that only existed in the scope of the function that produced the result.T
should've resolved to{ foo: { x: 'hello' }, bar: { x: true } }
.This is a minimal repro whittled down from a much larger body of code in our app, and the problem is preventing us from being able to migrate beyond TypeScript 2.5.2.
The text was updated successfully, but these errors were encountered: