microsoft / TypeScript

TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
https://www.typescriptlang.org
Apache License 2.0
100.44k stars 12.42k forks source link

Design Meeting Notes, 3/19/2024 #57856

Open DanielRosenwasser opened 6 months ago

DanielRosenwasser commented 6 months ago

Preserving attributes on reference directives

https://github.com/microsoft/TypeScript/pull/57681

Reallowing Infinity, -Infinity, NaN as enum member names

Background

https://github.com/microsoft/TypeScript/pull/56161 https://github.com/microsoft/TypeScript/issues/57845

Proposal

Discussion

Narrowing element accesses with non-constant expressions

https://github.com/microsoft/TypeScript/pull/57847

DanielRosenwasser commented 6 months ago

57853 contains the revert.

ehoogeveen-medweb commented 6 months ago

Last section is about https://github.com/microsoft/TypeScript/pull/57847 :)

DanielRosenwasser commented 6 months ago

Thanks for catching that! Updated

fatcerberus commented 6 months ago

The discussion about enum reverse mappings reads like an account of a game of tug-of-war, and then at the end nobody wins - the rope goes slack and both teams fall in the mud 😝