Skip to content

Commit

Permalink
Resolve additional typescript errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ctharings committed Dec 8, 2023
1 parent 038782a commit bfa0d21
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 bfa0d21

Please sign in to comment.