diff --git a/src/index.d.ts b/src/index.d.ts index c888ee6..4cda384 100644 --- a/src/index.d.ts +++ b/src/index.d.ts @@ -17,7 +17,11 @@ export declare interface ResultJSON { origin: string; header?: AnyObj; data?: any; + // -L/--location follow redirects (boolean flag) + location?: boolean; params?: AnyObj; + // -F/--form is normalized to an array (even for single occurrence) + form?: string[]; method?: Method | (string & {}); [k in string]?: any; }