Fix linting and exporting

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

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

@ -7,10 +7,9 @@ export declare class SvelteComponentApi {
hydrate?: boolean;
intro?: boolean;
});
$set(props: Props): void;
$on<T = any>(event: string, callback: (event: CustomEvent<T>) => void): () => void;
$destroy(): void;
[accessor: string]: any;
}
export default SvelteComponentApi;
Loading…
Cancel
Save