https://github.com/micha-lmxt/svelte-wired-types
Typescript type definition files for wired js with Svelte
https://github.com/micha-lmxt/svelte-wired-types
svelte typescript wired-elements
Last synced: 2 months ago
JSON representation
Typescript type definition files for wired js with Svelte
- Host: GitHub
- URL: https://github.com/micha-lmxt/svelte-wired-types
- Owner: micha-lmxt
- License: mit
- Created: 2020-09-03T16:30:02.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-12-18T18:59:02.000Z (over 5 years ago)
- Last Synced: 2025-10-26T21:24:18.327Z (8 months ago)
- Topics: svelte, typescript, wired-elements
- Language: JavaScript
- Homepage: https://GradientDescent.de/Svelte-And-Typescript
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# svelte-wired-types
Nice type definition files for (wired elements)[https://wiredjs.com/] to use with [Svelte](https://svelte.dev/).
### Usage
```javascript
npm install --save-dev svelte-wired-types
```
Then put an import somewhere, eg. the main.ts file:
```javascript
import "svelte-wired-types";
```
Now you should have see type information in vs code for wired-elements components, eg. when you hover over wired-button:
```javascript
//App.svelte
import "wired-elements";
Submit
```
------------------------------------
#### For more details [read my blog](https://gradientdescent.de/Svelte-And-Typescript/)