Fix linting and exporting

pull/3893/head
Nitay Rabinovich 5 years ago
parent a7a75cb550
commit 97e44099b5

@ -1,4 +1,4 @@
declare module '*.svelte' { declare module '*.svelte' {
type SvelteComponent = typeof import('./internal/ComponentApi').SvelteComponentApi // eslint-disable-next-line import/no-unresolved
export default SvelteComponent export { default } from 'svelte/internal/ComponentApi';
} }

@ -7,10 +7,9 @@ export declare class SvelteComponentApi {
hydrate?: boolean; hydrate?: boolean;
intro?: boolean; intro?: boolean;
}); });
$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 default SvelteComponentApi;
Loading…
Cancel
Save