3 ms·
Initially it didn't make sense to me... but it looks like type striping is really the way to go for future TS. There's the "types as comments" proposal[1] whic
by pier25 5mo ago
Initially it didn't make sense to me... but it looks like type striping is really the way to go for future TS.
There's the "types as comments" proposal[1] which could even land on browsers one day.
I started using the erasableSyntaxOnly setting in my tsconfig to get ready for this.
[1] https://tc39.es/proposal-type-annotations/ https://tc39.es/proposal-type-annotations/