musictheory / NilScript

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

Major: Synchronize `ojc --typescript-lib` to `tsc --lib` #109

Closed iccir closed 8 years ago

iccir commented 8 years ago

Right now, --typescript-lib specifies a private .d.ts file located inside of the typescript package. This was always fragile and will probably break in the future.

TypeScript 2.0 will add modularized libraries and a new --lib flag. Instead of taking a file, --typescript-lib should take a comma-separated string and pass it to --lib.

iccir commented 8 years ago

Blocked by TypeScript 2.0

iccir commented 8 years ago

--typescript-lib now behaves like the new --lib in TypeScript 2.0. Previously, you would use a value of "lib.core.d.ts" for non-DOM targets. Now this is simply es2015 or es5.