Skip to content

Commit

Permalink
Merge pull request #18 from gemini-testing/kr/chore/fix_build
Browse files Browse the repository at this point in the history
chore: fix tsc build
  • Loading branch information
KuznetsovRoman authored Apr 9, 2024
2 parents 9616b11 + 6321cb0 commit cc77104
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@ function onTestplaneWorker(testplane: Testplane): void {
};
};

browser.overwriteCommand(commandName, (baseAssertView, name, selector, opts = {}, ...rest) => {
browser.overwriteCommand(commandName, (baseAssertView, name, selector, opts = {}, ...rest: []) => {
return baseAssertView(name, selector, withStoryDefaults(opts), ...rest);
});

browser.overwriteCommand(
commandName,
(baseAssertView, name, opts = {}, ...rest) => {
(baseAssertView, name, opts = {}, ...rest: []) => {
return baseAssertView(name, withStoryDefaults(opts), ...rest);
},
true,
Expand Down

0 comments on commit cc77104

Please sign in to comment.