Files
NativeScript/tns-platform-declarations/README.md
Hristo Deshev 489be1e460 Upgrade to TypeScript 2.1, and latest grunt-ts. (#3609)
* Upgrade to TypeScript 2.1, and latest grunt-ts.
* Remove AudioBuffer and UIEvent from the definitions, we now should be compatible with dom
* Update the tns-platform-declarations readme
2017-02-08 16:13:25 +02:00

550 B

This plugin contains type information about the native platforms as exposed by the NativeScript framework.

Offically supported entry points:

  • android.d.ts - For android SDK and runtime types.
  • ios.d.ts - For iOS SDK and runtime types.

Add to the content of reference.d.ts:

/// <reference path="./node_modules/tns-platform-declarations/ios.d.ts" />
/// <reference path="./node_modules/tns-platform-declarations/android.d.ts" />

d.ts files require a lot of memory and CPU. Consider adding --skipLibCheck option to tsconfig file.