Skip to content

Commit

Permalink
js: tweak type
Browse files Browse the repository at this point in the history
  • Loading branch information
KazuCocoa committed Oct 14, 2023
1 parent f39a0c9 commit 6594379
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions finder/nodejs/lib/serializer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ export const ancestor = (args: {
const { of, matching, matchRoot = false, firstMatchOnly = false} = args;
const a: any = {
finderType: `Ancestor`,
firstMatchOnly,
matchRoot,
firstMatchOnly: `${firstMatchOnly}`,
matchRoot: `${matchRoot}`,
};
const ofParam: any = {};
Object.entries(deserialize(of)).forEach(
Expand Down Expand Up @@ -71,8 +71,8 @@ export const descendant = (args: {
const { of, matching, matchRoot = false , firstMatchOnly = false} = args;
const a: any = {
finderType: `Descendant`,
firstMatchOnly,
matchRoot,
firstMatchOnly: `${firstMatchOnly}`,
matchRoot: `${matchRoot}`,
};
const ofParam: any = {};
Object.entries(deserialize(of)).forEach(
Expand Down

0 comments on commit 6594379

Please sign in to comment.