@@ -125,12 +125,12 @@ export class VueWrapper<T extends ComponentPublicInstance> {
125
125
126
126
get < K extends keyof HTMLElementTagNameMap > (
127
127
selector : K
128
- ) : DOMWrapper < HTMLElementTagNameMap [ K ] >
128
+ ) : Omit < DOMWrapper < HTMLElementTagNameMap [ K ] > , 'exists' >
129
129
get < K extends keyof SVGElementTagNameMap > (
130
130
selector : K
131
- ) : DOMWrapper < SVGElementTagNameMap [ K ] >
132
- get < T extends Element > ( selector : string ) : DOMWrapper < T >
133
- get ( selector : string ) : DOMWrapper < Element > {
131
+ ) : Omit < DOMWrapper < SVGElementTagNameMap [ K ] > , 'exists' >
132
+ get < T extends Element > ( selector : string ) : Omit < DOMWrapper < T > , 'exists' >
133
+ get ( selector : string ) : Omit < DOMWrapper < Element > , 'exists' > {
134
134
const result = this . find ( selector )
135
135
if ( result instanceof DOMWrapper ) {
136
136
return result
@@ -169,13 +169,13 @@ export class VueWrapper<T extends ComponentPublicInstance> {
169
169
170
170
getComponent < T extends ComponentPublicInstance > (
171
171
selector : new ( ) => T
172
- ) : VueWrapper < T >
172
+ ) : Omit < VueWrapper < T > , 'exists' >
173
173
getComponent < T extends ComponentPublicInstance > (
174
174
selector : FindComponentSelector
175
- ) : VueWrapper < T >
175
+ ) : Omit < VueWrapper < T > , 'exists' >
176
176
getComponent < T extends ComponentPublicInstance > (
177
177
selector : any
178
- ) : VueWrapper < T > {
178
+ ) : Omit < VueWrapper < T > , 'exists' > {
179
179
const result = this . findComponent ( selector )
180
180
181
181
if ( result instanceof VueWrapper ) {
0 commit comments