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

Loading…
Cancel
Save