diff --git a/types/index.d.ts b/types/index.d.ts index d7c966fc..6e56d20a 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -23,4 +23,12 @@ export * from './User'; export * from './utils'; export * from './Utility'; export * from './Webhook'; -export { default, IEasyPostOptions } from './EasyPost'; +export { IEasyPostOptions } from './EasyPost'; + +declare const EasyPostClient: typeof import('./EasyPost').default; +export = EasyPostClient; +export as namespace MainClient; + +declare module 'easypost' { + export = EasyPostClient; +}