3 ms·
https://devblogs.microsoft.com/typescript/announcing-typescript-3-9/#uncalled-in-conditionals https://devblogs.microsoft.com/typescript/announcing-typescr... E
by Kaze404 6y ago
https://devblogs.microsoft.com/typescript/announcing-typescript-3-9/#uncalled-in-conditionals https://devblogs.microsoft.com/typescript/announcing-typescr...
Edit: Apparently the functionality already exists as of 3.7. The update in 3.9 was to add it to ternary operations as well
- yawaramin 6y agoGreat. But looks like it doesn't work inside a boolean expression.