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: Correctly generate `TSMappedType` by liuxingbaoyu · Pull Request #16394 · babel/babel Conversation
Member
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Collaborator
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
nicolo-ribaudo
approved these changes
JLHwung
approved these changes
|
There was an error while loading. Please reload this page.
|
@liuxingbaoyu Thank you for the swift fix! type Foo2 = { [key in Bar]? }; type Foo3 = { [key in keyof Bar]-? }; type Foo4 = { [key in keyof Bar]+? }; |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
You are right, thank you! I will open a new PR. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Ugh, til that's valid TS 😬 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
[Bug]: Typescript mapped type with implicit any results in faulty TS
There was an error while loading. Please reload this page.