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
// A *self-contained* demonstration of the problem follows...interfaceTestProp<T>{a: number;b: T;}declarefunctionTestC<T>(props: TestProp<T>): void;declarefunctionTestW<Props>(comp: (props: Props)=>void): Props;constp=TestW(TestC);
Expected behavior: p is type TestProp<any> or TestProp<{}>
Actual behavior: p is type {}
The text was updated successfully, but these errors were encountered:
Automatically closing this issue for housekeeping purposes. The issue labels indicate that it is unactionable at the moment or has already been addressed.
TypeScript Version: 2.3.3 / nightly (2.4.0-dev.20170523)
Code
Expected behavior:
p
is typeTestProp<any>
orTestProp<{}>
Actual behavior:
p
is type{}
The text was updated successfully, but these errors were encountered: