Files
CCNA_Learning/src/types.d.ts
2019-09-11 15:07:12 +02:00

21 lines
542 B
TypeScript

declare module '*.svg' {
type Props = Record<string, any>;
export default class {
constructor(options: {
target: Element;
anchor?: Element;
props?: Props;
hydrate?: boolean;
intro?: boolean;
});
$set(props: Props): void;
$on<T = any>(event: string, callback: (event: CustomEvent<T>) => void): () => void;
$destroy(): void;
[accessor: string]: any;
}
}
declare module "*.css" {
const T: string;
export default T;
}