|
|
|
|
|
by yencabulator
1360 days ago
|
|
That still allows `x as string` and many other traps. Typescript just isn't type-safe, and this has bitten me so many times in real world projects with strict mode and all. The best thing I can say about Typescript is that it's an improvement over Javascript. |
|