Skip to content

Commit 2e57612

Browse files
authored
chore: fix typo (#14513)
1 parent b72fd2b commit 2e57612

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/svelte/src/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ type Properties<Props, Slots> = Props &
3838
/**
3939
* This was the base class for Svelte components in Svelte 4. Svelte 5+ components
4040
* are completely different under the hood. For typing, use `Component` instead.
41-
* To instantiate components, use `mount` instead`.
41+
* To instantiate components, use `mount` instead.
4242
* See [migration guide](https://svelte.dev/docs/svelte/v5-migration-guide#Components-are-no-longer-classes) for more info.
4343
*/
4444
export class SvelteComponent<

packages/svelte/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ declare module 'svelte' {
3535
/**
3636
* This was the base class for Svelte components in Svelte 4. Svelte 5+ components
3737
* are completely different under the hood. For typing, use `Component` instead.
38-
* To instantiate components, use `mount` instead`.
38+
* To instantiate components, use `mount` instead.
3939
* See [migration guide](https://svelte.dev/docs/svelte/v5-migration-guide#Components-are-no-longer-classes) for more info.
4040
*/
4141
export class SvelteComponent<

0 commit comments

Comments
 (0)