File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ declare module 'uikit' ;
Original file line number Diff line number Diff line change 1+ import { Handlers } from '@/types' ;
2+
3+ declare global {
4+ interface Window {
5+ handlers : Handlers ;
6+ }
7+ }
Original file line number Diff line number Diff line change 1+ declare module 'kebab-case' {
2+ export default function kebabCase ( arg : string ) : string ;
3+ }
Original file line number Diff line number Diff line change 1+ // FIXME: Vue and VNode are reported as no-unused-vars error by the following bug for typescript-eslint
2+ // https://github.com/typescript-eslint/typescript-eslint/issues/1596
3+ //
4+ // This bug will be fixed in https://github.com/typescript-eslint/typescript-eslint/issues/1856.
5+ //
6+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
7+ import Vue , { VNode } from 'vue' ;
8+
9+ declare global {
10+ namespace JSX {
11+ // tslint:disable no-empty-interface
12+ interface Element extends VNode { }
13+ // tslint:disable no-empty-interface
14+ interface ElementClass extends Vue { }
15+ interface IntrinsicElements {
16+ [ elem : string ] : any ;
17+ }
18+ }
19+ }
Original file line number Diff line number Diff line change 1+ declare module '*.vue' {
2+ import Vue from 'vue' ;
3+ export default Vue ;
4+ }
You can’t perform that action at this time.
0 commit comments