diff --git a/httpie.d.ts b/httpie.d.ts index 3d6025e..e9c8d6d 100644 --- a/httpie.d.ts +++ b/httpie.d.ts @@ -13,9 +13,9 @@ export interface HttpieResponse extends IncomingMessage { data: T, } -export declare function send(method: string, uri: string | Url, opts?: HttpieOptions): Promise>; +export declare function send(method: string, uri: string | Url, opts?: Partial): Promise>; -declare function method(uri: string | Url, opts?: HttpieOptions): Promise>; +declare function method(uri: string | Url, opts?: Partial): Promise>; export { method as get,