Right now, the type checker uses TypeScript's lib.d.ts file. This is fine if we are targeting a web browser, but includes too many definitions for barer environments like an iOS JSContext.
Sadly, there isn't a lot of documentation for the other libraries distributed with TypeScript.
We want lib.core.d.ts for our JSContext target. For now, add an --typescript-lib option which allows us to specify this.
In the future, this option should be the same when/if there is a similar option on tsc.
Right now, the type checker uses TypeScript's
lib.d.ts
file. This is fine if we are targeting a web browser, but includes too many definitions for barer environments like an iOS JSContext.Sadly, there isn't a lot of documentation for the other libraries distributed with TypeScript.
We want
lib.core.d.ts
for our JSContext target. For now, add an--typescript-lib
option which allows us to specify this.In the future, this option should be the same when/if there is a similar option on
tsc
.