diff --git a/src/runtime/internal/Component.ts b/src/runtime/internal/Component.ts index 808f60142c..fbe9de1680 100644 --- a/src/runtime/internal/Component.ts +++ b/src/runtime/internal/Component.ts @@ -176,9 +176,7 @@ if (typeof HTMLElement === 'function') { // placeholder object to allow props to be set pre-$$setup $$initialProps: Record | null = {}; - $$setup(_options?) { - // overridden by instance - } + $$setup: (options) => void; connectedCallback() { if (!this.$$) {