mirror of
https://github.com/xuxiaobo-bobo/boda_jsEnv.git
synced 2025-04-22 23:44:23 +08:00
18 lines
448 B
Plaintext
18 lines
448 B
Plaintext
// @flow
|
|
// Generated using flowgen2
|
|
|
|
import type {Response} from 'then-request';
|
|
import type {HttpVerb} from 'then-request';
|
|
import type {MessageOptions} from './Options';
|
|
|
|
type Req = {m: HttpVerb, u: string, o?: MessageOptions};
|
|
export type {Req};
|
|
|
|
interface Res {
|
|
s: $PropertyType<Response, 'statusCode'>;
|
|
h: $PropertyType<Response, 'headers'>;
|
|
b: $PropertyType<Response, 'body'>;
|
|
u: $PropertyType<Response, 'url'>;
|
|
}
|
|
export type {Res};
|