diff --git a/index.d.ts b/index.d.ts index 83a786d6a03..0883fc7cc37 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1,3 +1,3 @@ -export * from './types/index' import Undici from './types/index' export default Undici +export * from './types/index' diff --git a/test/imports/undici-import.ts b/test/imports/undici-import.ts index 776a561c507..8be95cdd009 100644 --- a/test/imports/undici-import.ts +++ b/test/imports/undici-import.ts @@ -1,6 +1,5 @@ import { expectType } from 'tsd' -import { Dispatcher, request } from '../../' -import { interceptors } from '../../' +import { Dispatcher, interceptors, request } from '../../' async function exampleCode () { const retry = interceptors.retry()