Skip to content

Commit

Permalink
Merge pull request #148 from ctharings/master
Browse files Browse the repository at this point in the history
Resolve additional typescript errors
  • Loading branch information
elaichenkov authored Dec 9, 2023
2 parents 038782a + bfa0d21 commit 86db544
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
declare global {
namespace Cypress {
interface Chainable {
interface Chainable<Subject = any> {
/**
* Custom command to verify that file has been downloaded
* @param fileName - string
Expand All @@ -21,5 +21,5 @@ declare global {
export function addCustomCommand(): void;
export const verifyDownloadTasks: {
isFileExist: (path: string) => boolean;
findFiles: ({ path: string, filename: string }) => string[] | null;
findFiles: ({ path, filename }: { path: string, filename: string }) => string[] | null;
};

0 comments on commit 86db544

Please sign in to comment.