diff --git a/src/runtime/internal/Component.ts b/src/runtime/internal/Component.ts index 0f579d35ef..16b832be9b 100644 --- a/src/runtime/internal/Component.ts +++ b/src/runtime/internal/Component.ts @@ -272,7 +272,7 @@ export class SvelteComponent { * * @param type * @param callback - * @returns a function that will remove the event listener when called. + * @returns a function that will remove the event listener when called */ $on(type, callback) { const callbacks = (this.$$.callbacks[type] || (this.$$.callbacks[type] = []));