element-plus/typings/vue-test-utils.d.ts
Herrington Darkholme 62f1135768
Feat/form (#342)
* feat(form): add form component

fix #125

* test(form): add test code

* docs(form): add form doc

* feat: add uitls merge

* fix(form): fix style

* test(form): add form test code

* refactor(form): review changes

* test(form): use idiomatic vue-test-util methods

* feat(core): bump vue version

* feat(form): rewrite label wrap

* feat(form): fix tons of bugs

* fix(form): reuse ts extension

* refactor(form): move out label width computation

* fix(form): fix tons of bugs

* fix(form): test

Co-authored-by: 286506460 <286506460@qq.com>
2020-10-03 16:02:53 +08:00

12 lines
265 B
TypeScript

import { ComponentPublicInstance } from '@vue/test-utils'
declare module '@vue/test-utils' {
interface DOMWrapper<ElementType> {
style: CSSStyleDeclaration
}
interface VueWrapper<T extends ComponentPublicInstance> {
style: CSSStyleDeclaration
}
}