-
-
Notifications
You must be signed in to change notification settings - Fork 7.2k
Expand file tree
/
Copy pathtypes.d.ts
More file actions
32 lines (28 loc) · 792 Bytes
/
Copy pathtypes.d.ts
File metadata and controls
32 lines (28 loc) · 792 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
declare module '*.svg' {
const value: string;
export default value;
}
declare module '*.txt' {
const value: string;
export default value;
}
declare module '*.vue' {
import type {DefineComponent} from 'vue';
const component: DefineComponent<unknown, unknown, any>;
export default component;
}
declare module 'idiomorph' {
interface Idiomorph {
morph(existing: Node | string, replacement: Node | string, options?: {
morphStyle: 'innerHTML' | 'outerHTML',
callbacks?: {
beforeNodeMorphed?: (oldNode: Node, newNode: Node) => boolean,
},
}): Node[];
}
export const Idiomorph: Idiomorph;
}
declare module 'swagger-ui-dist/swagger-ui-es-bundle.js' {
const value = await import('swagger-ui-dist');
export default value.SwaggerUIBundle;
}