News for hackers. Stuff that matters.
Re:Love for TypeScript by mckoss on Saturday July 30, 2016 @10:08AM (#12193023)
Except for a few cases where Typescript let's you transpile ES6 syntax to JavaScript ES5, the compiler does not change your code; it just checks it for type errors.

The point of the example is that Typescript recently added support for non-null types, but is flexible enough to analyze where types have been further restricted by an early function return.

There are no comments on this comment yet.