@nativescript-dom/svelte-types
TypeScript definitions for @nativescript/core views exposed as JSX intrinsic elements for svelte
npm i --save @nativescript-dom/svelte-types
- Version: 1.0.6
- GitHub: https://github.com/nativescript-dom/types
- NPM: https://www.npmjs.com/package/%40nativescript-dom%2Fsvelte-types
- Downloads:
- Last Day: 0
- Last Week: 0
- Last Month: 0
svelte-types
Typescript types for svelte-native that work in .svelte
files to give you proper and complete intellisense in code editors.
Installtion
- Install the
core
andsvelte
types in your project
npm install @nativescript-dom/core-types @nativescript-dom/svelte-types --save-dev
- 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