Safer TypeScript – Improved Type Safety for TypeScript

Microsoft Research is working on a project called “Safer TypeScript”.
It is an alternative type-checker and code generator for TypeScript – the statically typed superset of JavaScript – which offers improved type safety by combining static and dynamic type checks.

At the moment it is unclear how the new type-checker works.
Developers can activate the new type-checker via a compiler flag.
When using plain TypeScript, you only get type safety at compile time, not runtime type safety which Safer TypeScript addresses.

The project is still in its early days and just a research project, so it is not ready for production use yet – but it already looks very promising.

Short URL for this post:
This entry was posted in Web as a Platform and tagged , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *