Skip to content

Commit 8821d1e

Browse files
Merge pull request #492 from EasyPost/types-fix
Types fix
2 parents 6ac0cc3 + e2b3559 commit 8821d1e

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

types/index.d.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,12 @@ export * from './User';
2323
export * from './utils';
2424
export * from './Utility';
2525
export * from './Webhook';
26-
export { default, IEasyPostOptions } from './EasyPost';
26+
export { IEasyPostOptions } from './EasyPost';
27+
28+
declare const EasyPostClient: typeof import('./EasyPost').default;
29+
export = EasyPostClient;
30+
export as namespace MainClient;
31+
32+
declare module 'easypost' {
33+
export = EasyPostClient;
34+
}

0 commit comments

Comments
 (0)