Fix findByProps for vd api
This commit is contained in:
parent
9de6ca830f
commit
cfcd00f493
1 changed files with 2 additions and 2 deletions
|
|
@ -24,8 +24,8 @@ export const createVendettaObject = (unloads: any[]): any => ({
|
|||
metro: {
|
||||
find: (filter: (m: any) => boolean) => metro.find(filter),
|
||||
findAll: (filter: (m: any) => boolean) => metro.findAll(filter),
|
||||
findByProps: (filter: any) => metro.findByProps(filter),
|
||||
findByPropsAll: (filter: any) => metro.findByPropsAll(filter),
|
||||
findByProps: (...props: any) => metro.findByProps(...props),
|
||||
findByPropsAll: (...props: any) => metro.findByPropsAll(...props),
|
||||
findByName: (name: string, defaultExp?: boolean | undefined) => metro.findByName(name, defaultExp),
|
||||
findByNameAll: (name: string, defaultExp?: boolean | undefined) => metro.findByNameAll(name, defaultExp),
|
||||
findByDisplayName: (displayName: string, defaultExp?: boolean | undefined) => metro.findByDisplayName(displayName, defaultExp),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue