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
$$initialProps: Record<string, any> | null = {};
$$setup(_options?) {
// overridden by instance
}
$$setup: (options) => void;
connectedCallback() {
if (!this.$$) {

Loading…
Cancel
Save