forked from sindresorhus/got
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.ts
25 lines (21 loc) · 750 Bytes
/
index.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import create from './create.js';
import {InstanceDefaults} from './types.js';
import Options from './core/options.js';
const defaults: InstanceDefaults = {
options: new Options(),
handlers: [],
mutableDefaults: false
};
const got = create(defaults);
export default got;
export {got};
export {default as Options} from './core/options.js';
export * from './core/options.js';
export * from './core/response.js';
export * from './core/index.js';
export * from './core/errors.js';
export {default as calculateRetryDelay} from './core/calculate-retry-delay.js';
export * from './as-promise/types.js';
export * from './types.js';
export {default as create} from './create.js';
export {default as parseLinkHeader} from './core/parse-link-header.js';