Skip to content

Commit d1c058a

Browse files
committed
add default export
1 parent ab23bc2 commit d1c058a

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33

44
## [3.0.0](https://github.com/supercharge/http-errors/compare/v2.1.0...v3.0.0) - 2024-03-xx
55

6+
### Added
7+
- add default export allowing users to define their own import name: `import MyHttpErrorVariableName from '@supercharge/http-errors'`
8+
69
### Updated
710
- bump dependencies
811

src/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
import { HttpError } from './http-error.js'
33

44
export { HttpError }
5+
export default HttpError

0 commit comments

Comments
 (0)