mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-10 10:21:55 +00:00
Add missing shims
This commit is contained in:
parent
3138806ca4
commit
6c878f41bc
|
@ -11,7 +11,7 @@ module.exports = {
|
|||
'plugin:prettier-vue/recommended',
|
||||
'prettier/vue',
|
||||
'prettier/@typescript-eslint',
|
||||
// 'plugin:@typescript-eslint/recommended',
|
||||
'plugin:@typescript-eslint/recommended',
|
||||
'@vue/typescript',
|
||||
'@vue/typescript/recommended',
|
||||
],
|
||||
|
|
13
src/shims-tsx.d.ts
vendored
Normal file
13
src/shims-tsx.d.ts
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
import Vue, { VNode } from 'vue';
|
||||
|
||||
declare global {
|
||||
namespace JSX {
|
||||
// tslint:disable no-empty-interface
|
||||
type Element = VNode;
|
||||
// tslint:disable no-empty-interface
|
||||
type ElementClass = Vue;
|
||||
interface IntrinsicElements {
|
||||
[elem: string]: any;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user