Skip to content

Commit

Permalink
Fix findByProps for vd api
Browse files Browse the repository at this point in the history
  • Loading branch information
pylixonly authored Feb 23, 2024
1 parent 9de6ca8 commit cfcd00f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/vendettaObject.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit cfcd00f

Please sign in to comment.