3 ms·
> Typescript will give you compile-time type checking, but the actual runtime (javascript) is weakly typed. Yes and this sucks. There have been a few bugs I've
by pbowyer 9y ago
> Typescript will give you compile-time type checking, but the actual runtime (javascript) is weakly typed.
Yes and this sucks. There have been a few bugs I've had (can't remember details) where the types or visibility looked OK in the editor but I was bitten at runtime.
No doubt due to my loose configuration - tightening up the linter would help and getting rid of null/undefined overlaps is my next move.