Skip to content

Commit c819d14

Browse files
committed
fix: enhance module exports in index.js to include Api and HttpError
1 parent 812f3b9 commit c819d14

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

lib/index.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -574,6 +574,12 @@ const defaultExport = { create, configure }
574574

575575
// @ts-ignore
576576
module.exports = defaultExport
577+
// @ts-ignore
578+
module.exports.Api = Api
579+
// @ts-ignore
580+
module.exports.HttpError = HttpError
581+
// @ts-ignore
582+
module.exports.default = defaultExport
577583

578584
export { Api }
579585
export default defaultExport

0 commit comments

Comments
 (0)