q9
This commit is contained in:
10
node_modules/@vue/test-utils/dist/utils/find.d.ts
generated
vendored
Normal file
10
node_modules/@vue/test-utils/dist/utils/find.d.ts
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
import { ComponentInternalInstance, VNode } from 'vue';
|
||||
import { FindAllComponentsSelector } from '../types';
|
||||
/**
|
||||
* Detect whether a selector matches a VNode
|
||||
* @param node
|
||||
* @param selector
|
||||
* @return {boolean | ((value: any) => boolean)}
|
||||
*/
|
||||
export declare function matches(node: VNode, rawSelector: FindAllComponentsSelector): boolean;
|
||||
export declare function find(root: VNode, selector: FindAllComponentsSelector): ComponentInternalInstance[];
|
||||
Reference in New Issue
Block a user