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 `