Socket
Socket
Sign inDemoInstall

@nativescript-dom/angular-types

Package Overview
Dependencies
0
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @nativescript-dom/angular-types

Typescript definitions for @nativescript/angular that expose @nativescript/core views as DOM elements in HTML templates


Version published
Maintainers
1
Created

Readme

Source

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

Keywords

FAQs

Last updated on 28 May 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc