xuxiaobo-bobo 842b34b5ca 0218
2024-02-18 15:40:48 +08:00

28 lines
542 B
Plaintext

// @flow
// Generated using flowgen2
import type {Options as AsyncOptions} from 'then-request';
import {FormData} from './FormData';
import type {FormDataEntry} from './FormData';
interface BaseOptions {
agent?: boolean;
cache?: 'file';
retry?: boolean;
retryDelay?: number;
socketTimeout?: number;
timeout?: number;
body?: string | Buffer;
}
export type {BaseOptions};
interface Options {
form?: FormData;
}
export type {Options};
interface MessageOptions {
form?: Array<FormDataEntry>;
}
export type {MessageOptions};