pull/3893/head
Rich Harris 5 years ago committed by GitHub
parent 3593dd308c
commit 280913cca4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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