chore: fix typo (#14513)

pull/14514/head
Rich Harris 9 months ago committed by GitHub
parent b72fd2b3cd
commit 2e57612ef4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -38,7 +38,7 @@ type Properties<Props, Slots> = Props &
/** /**
* This was the base class for Svelte components in Svelte 4. Svelte 5+ components * This was the base class for Svelte components in Svelte 4. Svelte 5+ components
* are completely different under the hood. For typing, use `Component` instead. * are completely different under the hood. For typing, use `Component` instead.
* To instantiate components, use `mount` instead`. * To instantiate components, use `mount` instead.
* See [migration guide](https://svelte.dev/docs/svelte/v5-migration-guide#Components-are-no-longer-classes) for more info. * See [migration guide](https://svelte.dev/docs/svelte/v5-migration-guide#Components-are-no-longer-classes) for more info.
*/ */
export class SvelteComponent< export class SvelteComponent<

@ -35,7 +35,7 @@ declare module 'svelte' {
/** /**
* This was the base class for Svelte components in Svelte 4. Svelte 5+ components * This was the base class for Svelte components in Svelte 4. Svelte 5+ components
* are completely different under the hood. For typing, use `Component` instead. * are completely different under the hood. For typing, use `Component` instead.
* To instantiate components, use `mount` instead`. * To instantiate components, use `mount` instead.
* See [migration guide](https://svelte.dev/docs/svelte/v5-migration-guide#Components-are-no-longer-classes) for more info. * See [migration guide](https://svelte.dev/docs/svelte/v5-migration-guide#Components-are-no-longer-classes) for more info.
*/ */
export class SvelteComponent< export class SvelteComponent<

Loading…
Cancel
Save