diff --git a/src/runtime/internal/Component.ts b/src/runtime/internal/Component.ts index 9932d1f6d5..0f579d35ef 100644 --- a/src/runtime/internal/Component.ts +++ b/src/runtime/internal/Component.ts @@ -239,12 +239,12 @@ export class SvelteComponent { $$set?: ($$props: any) => void; /** * - * ```ts - * component.$destroy() - * ``` - * - * Removes a component from the DOM and triggers any `onDestroy` handlers. - * + * ```ts + * component.$destroy() + * ``` + * + * Removes a component from the DOM and triggers any `onDestroy` handlers. + * */ $destroy() { destroy_component(this, 1);