From c9c34b915d45e6595a54784e2aed0c65f221d9fd Mon Sep 17 00:00:00 2001 From: ehsan Date: Sat, 12 Feb 2022 09:01:47 +0330 Subject: [PATCH] [docs] removes the signiture from docs for functions --- src/runtime/internal/Component.ts | 14 ------- src/runtime/internal/lifecycle.ts | 65 ------------------------------- src/runtime/internal/scheduler.ts | 7 ---- src/runtime/internal/utils.ts | 7 ---- src/runtime/motion/spring.ts | 5 --- src/runtime/motion/tweened.ts | 5 --- src/runtime/store/index.ts | 36 ----------------- 7 files changed, 139 deletions(-) diff --git a/src/runtime/internal/Component.ts b/src/runtime/internal/Component.ts index d9fcbb5ec0..2dfd2acf77 100644 --- a/src/runtime/internal/Component.ts +++ b/src/runtime/internal/Component.ts @@ -251,13 +251,6 @@ export class SvelteComponent { this.$destroy = noop; } /** - * - * ```ts - * component.$on(event, callback) - * ``` - * - * --- - * * Causes the `callback` function to be called whenever the component dispatches an `event`. * * A function is returned that will remove the event listener when called. @@ -284,13 +277,6 @@ export class SvelteComponent { }; } /** - * - * ```ts - * component.$set(props) - * ``` - * - * --- - * * Programmatically sets props on an instance. `component.$set({ x: 1 })` is equivalent to `x = 1` inside the component's `