An open API service indexing awesome lists of open source software.

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

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/)