From 2e57612ef495689e628078e988126f057cc2f7a8 Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Mon, 2 Dec 2024 18:44:15 -0500 Subject: [PATCH] chore: fix typo (#14513) --- packages/svelte/src/index.d.ts | 2 +- packages/svelte/types/index.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/svelte/src/index.d.ts b/packages/svelte/src/index.d.ts index 5130721cbed2..b8ba8b6f0a75 100644 --- a/packages/svelte/src/index.d.ts +++ b/packages/svelte/src/index.d.ts @@ -38,7 +38,7 @@ type Properties = Props & /** * 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. - * 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. */ export class SvelteComponent< diff --git a/packages/svelte/types/index.d.ts b/packages/svelte/types/index.d.ts index 0814796d27e6..5a5cc86ae6c3 100644 --- a/packages/svelte/types/index.d.ts +++ b/packages/svelte/types/index.d.ts @@ -35,7 +35,7 @@ declare module 'svelte' { /** * 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. - * 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. */ export class SvelteComponent<