You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-18Lines changed: 8 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,8 @@ The purpose of this project is to make third party Svelte components and librari
9
9
10
10
The core of this library is extracted from [carbon-components-svelte](https://github.com/IBM/carbon-components-svelte).
11
11
12
+
**Note:** The generated TS definitions require [Svelte version 3.30](https://github.com/sveltejs/svelte/blob/master/CHANGELOG.md#3300) or greater.
13
+
12
14
---
13
15
14
16
Given a Svelte file, sveld can infer basic prop types to generate TypeScript definitions compatible with the [Svelte Language Server](https://github.com/sveltejs/language-tools):
@@ -26,10 +28,13 @@ Given a Svelte file, sveld can infer basic prop types to generate TypeScript def
26
28
</button>
27
29
```
28
30
31
+
The generated definition extends the typed `SvelteComponent` interface.
0 commit comments