diff options
Diffstat (limited to 'viewer/src/shims-tsx.d.ts')
-rw-r--r-- | viewer/src/shims-tsx.d.ts | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/viewer/src/shims-tsx.d.ts b/viewer/src/shims-tsx.d.ts new file mode 100644 index 0000000..2bcdf9f --- /dev/null +++ b/viewer/src/shims-tsx.d.ts | |||
@@ -0,0 +1,13 @@ | |||
1 | import Vue, { VNode } from "vue"; | ||
2 | |||
3 | declare global { | ||
4 | namespace JSX { | ||
5 | // tslint:disable no-empty-interface | ||
6 | interface Element extends VNode {} | ||
7 | // tslint:disable no-empty-interface | ||
8 | interface ElementClass extends Vue {} | ||
9 | interface IntrinsicElements { | ||
10 | [elem: string]: any; | ||
11 | } | ||
12 | } | ||
13 | } | ||