Skip to content

Commit 103a3b0

Browse files
committed
change req in sendRequest to unknown for now since none of the existing types seem to be correct
1 parent 1e65911 commit 103a3b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ declare global {
105105
/**
106106
* Allows one to send request from script asynchronously.
107107
*/
108-
sendRequest(req: Request | string, callback: (...params: any[]) => any): void;
108+
sendRequest(req: unknown | string, callback: (...params: any[]) => any): void;
109109
expect: Chai.ExpectStatic;
110110
}
111111

0 commit comments

Comments
 (0)