svelte-wired-types
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

svelte-wired-types

Nice type definition files for (wired elements)[https://wiredjs.com/] to use with Svelte.

Usage

npm install --save-dev svelte-wired-types

Then put an import somewhere, eg. the main.ts file:

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:

 //App.svelte
 <script lang="ts">
  import "wired-elements";
 </script>
 
<main>
  <wired-card elevation={5} fill={"#99A8B5"}>
    <wired-button elevation={2} >Submit</wired-button>
 </wired-card>
</main>

Readme

Keywords

Package Sidebar

Install

npm i svelte-wired-types

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

28 kB

Total Files

11

Last publish

Collaborators

  • micha-lmxt