Skip to content

Commit d6bceb7

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 d6bceb7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

types/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// TypeScript Version: 2.4
66
/// <reference types="node" />
77

8-
import { CookieList, Request, VariableScope } from 'postman-collection'
8+
import { CookieList, VariableScope } from 'postman-collection'
99

1010
declare global {
1111
const CONSOLE_EVENT_BASE = "execution.console.";
@@ -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)