nativescript-ios-declarations

4.0.1 • Public • Published

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

Offically supported entry points:

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

Using the declarations may conflict with DOM typings, consider using TypeScript 2.x.x and the following settings in your tsconfig.json:

{
    "compilerOptions": {
        "module": "commonjs",
        "target": "es5",
        "experimentalDecorators": true,
        "lib": [
            "es6",
            "dom"
        ]
    }
}

Create reference.d.tsand add the following content:

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

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

Dependents (0)

Package Sidebar

Install

npm i nativescript-ios-declarations

Weekly Downloads

0

Version

4.0.1

License

Apache-2.0

Unpacked Size

5.35 MB

Total Files

121

Last publish

Collaborators

  • carlosdelfino