Only include type for $$setup in Component

pull/5139/head
Christopher Mardell 5 years ago
parent 790857a95a
commit b8de8fda19

@ -176,9 +176,7 @@ if (typeof HTMLElement === 'function') {
// placeholder object to allow props to be set pre-$$setup // placeholder object to allow props to be set pre-$$setup
$$initialProps: Record<string, any> | null = {}; $$initialProps: Record<string, any> | null = {};
$$setup(_options?) { $$setup: (options) => void;
// overridden by instance
}
connectedCallback() { connectedCallback() {
if (!this.$$) { if (!this.$$) {

Loading…
Cancel
Save