1.0.7 • Published 12 months ago

@nativescript-dom/angular-types v1.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

angular-types

Typescript definitions for @nativescript/angular that expose @nativescript/core views as DOM elements in HTML templates and provide 100% complete intellisense in code editors

Installtion

  1. Install the core and angular types in your project
npm install @nativescript-dom/core-types @nativescript-dom/angular-types --save-dev
  1. Configure tsconfig.json as below
{
  "compilerOptions": {
    ...
    "types": [
        "node",
        "@nativescript-dom/core-types",
        "@nativescript-dom/angular-types"
        ],
...
  }

Configure vscode

If you use vscode, configure .vscode/settings.json.

Create a .vscode folder inside the root of your project and add a settings.json file with the following contents:

{
  "html.customData": [
    "./node_modules/@nativescript-dom/angular-types/metadata.json"
  ]
}

No extra steps are required for webstorm.

That's it, enjoy a fully typed @nativescript/angular experience.

MIT Licensed

1.0.7

12 months ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago