First version with CCNA 2 questions and answers
This commit is contained in:
21
src/types.d.ts
vendored
Normal file
21
src/types.d.ts
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
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;
|
||||
}
|
Reference in New Issue
Block a user