element-plus/typings/vue-test-utils.d.ts
三咲智子 0636e1e240
style: add import and stricter lint (#3440)
* style: add import lint

* chore: apply eslint rules

* chore: add stricter lint

* chore: lint all files

* auto fix

* manually fix

* restore build-indices.ts
2021-09-17 15:27:31 +08:00

14 lines
389 B
TypeScript

import type { ComponentPublicInstance, CSSProperties } from 'vue'
declare module '@vue/test-utils' {
// eslint-disable-next-line @typescript-eslint/no-unused-vars
interface DOMWrapper<ElementType> {
style: CSSProperties
}
// eslint-disable-next-line @typescript-eslint/no-unused-vars
interface VueWrapper<T extends ComponentPublicInstance> {
style: CSSProperties
}
}