pull/7738/head
Rich Harris 6 years ago committed by GitHub
parent d051ae3cbb
commit c6cfa7d7c7

@ -82,18 +82,18 @@ export function set_data_dev(text, data) {
type Props = Record<string, any>;
export interface SvelteComponentDev {
$set(props?: Props): void;
$on<T = any>(event: string, callback: (event: CustomEvent<T>) => void): () => void;
$destroy(): void;
[accessor: string]: any;
$set(props?: Props): void;
$on<T = any>(event: string, callback: (event: CustomEvent<T>) => void): () => void;
$destroy(): void;
[accessor: string]: any;
}
export class SvelteComponentDev extends SvelteComponent {
constructor(options: {
target: Element;
anchor?: Element;
props?: Props;
hydrate?: boolean;
target: Element;
anchor?: Element;
props?: Props;
hydrate?: boolean;
intro?: boolean;
$$inline?: boolean;
}) {
@ -119,4 +119,4 @@ export function loop_guard() {
throw new Error(`Infinite loop detected`);
}
};
}
}

Loading…
Cancel
Save