@nativescript-dom/svelte-types
TypeScript icon, indicating that this package has built-in type declarations

1.0.6 • Public • Published

svelte-types

Typescript types for svelte-native that work in .svelte files to give you proper and complete intellisense in code editors.

Installtion

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

That's it, enjoy a fully typed svelte-native experience.

MIT Licensed

Dependents (0)

Package Sidebar

Install

npm i @nativescript-dom/svelte-types

Weekly Downloads

1

Version

1.0.6

License

MIT

Unpacked Size

34.6 kB

Total Files

4

Last publish

Collaborators

  • ammarahm-ed