1 comment

[ 4.6 ms ] story [ 8.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).