From ebf4054e7fc69f80db3f7e7be50399d33e721882 Mon Sep 17 00:00:00 2001 From: ehsan Date: Wed, 9 Feb 2022 12:54:42 +0330 Subject: [PATCH] [docs] fixes formatting in Component.ts --- src/runtime/internal/Component.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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);