TypeScript

TypeScript

TypeScript and Runtime Type Safety

Intellisense, type definitions, tooling, and documentation. A few of the benefits that follow from TypeScript's compile-time static type system but it's not all good news. There are some drawbacks. For starters, the type checking, and thus type safety, occur at compile time. What about Runtime type safety?

Read
TypeScript

Authoring TypeScript Libraries

You've written a TypeScript library. Now what? Time to publish, of course. But how? Do you publish it as a TypeScript module or compile it to JavaScript? Should it run in browser or Node.js, or both? What about ES5 versus ES6 or ESNext? And don't forget, some people prefer AMD modules.

Read