musictheory / NilScript

Objective-C-style language superset of JavaScript with a tiny, simple runtime
Other
50 stars 5 forks source link

Update to TypeScript 1.8 #99

Closed iccir closed 8 years ago

iccir commented 8 years ago

Update to TypeScript 1.8

iccir commented 8 years ago

TypeScript 1.8 adds some new compiler options which need to be exposed to oj clients.

tsc --noImplicitReturns should be aliased to a no-implicit-returns ojc option.

tsc --allowUnreachableCode should be enabled by default. ojc should have a no-unreachable-code option to turn it off (and thus enable warnings about unreachable code).