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.
--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.
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
.