From bfa0d213645f8c7889176c7dc05f51e9c17e934b Mon Sep 17 00:00:00 2001 From: Chris Harings Date: Fri, 8 Dec 2023 13:47:13 -0600 Subject: [PATCH] Resolve additional typescript errors --- src/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.d.ts b/src/index.d.ts index 36ebbd1..db099d7 100644 --- a/src/index.d.ts +++ b/src/index.d.ts @@ -1,6 +1,6 @@ declare global { namespace Cypress { - interface Chainable { + interface Chainable { /** * Custom command to verify that file has been downloaded * @param fileName - string @@ -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; };