Skip to content

Commit ead6b45

Browse files
authored
normalize export (node-fetch#827)
1 parent bea4a7c commit ead6b45

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/index.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,7 @@ import FetchError from './errors/fetch-error.js';
2020
import AbortError from './errors/abort-error.js';
2121
import {isRedirect} from './utils/is-redirect.js';
2222

23-
export {default as Headers} from './headers.js';
24-
export {default as Request} from './request.js';
25-
export {default as Response} from './response.js';
26-
export {default as FetchError} from './errors/fetch-error.js';
27-
export {default as AbortError} from './errors/abort-error.js';
28-
export {isRedirect};
23+
export {Headers, Request, Response, FetchError, AbortError, isRedirect};
2924

3025
/**
3126
* Fetch function

0 commit comments

Comments
 (0)