-
-
Notifications
You must be signed in to change notification settings - Fork 144
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: add Svelte5 specific types (#381)
* feat: add typing for svelte5 * fix: update svelte in example * fix: missing svelte5 export * fix: update vite-svelte example to svelte5 * fix: update all svelte deps to latest * fix: update vite-svelte example to use new style App * fix: svelte5 d.ts * chore: remove unused ts-expect-error * chore: fix pnpm lock file
- Loading branch information
1 parent
e7263fa
commit 996c78c
Showing
10 changed files
with
223 additions
and
248 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
<script>export let content;</script> | ||
<svg {...$$props}>{@html content}</svg> | ||
<script> | ||
const { content, ...props } = $props(); | ||
</script> | ||
<svg {...props}>{@html content}</svg> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.