1 comment

[ 3.6 ms ] story [ 16.6 ms ] thread
This is a TC39 proposal, ie for JavaScript. The only thing that’s (currently) specific to TypeScript is that it can safely compile such assignments (despite issuing compiler errors).