GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||
GeezerVison is showing github.com — Fix union/union or intersection/intersection type inference by ahejlsberg · Pull Request #5942 · microsoft/TypeScript Conversation
Member
The reduction step introduced in #5738 is a bit too aggressive. For example: interface Foo<T> { x: T; } function bar<T>(x: Foo<T> | string): T { return bar(x); } In the
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Contributor
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
|
|
👍 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Fix union/union or intersection/intersection type inference
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.