We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab23bc2 commit d1c058aCopy full SHA for d1c058a
CHANGELOG.md
@@ -3,6 +3,9 @@
3
4
## [3.0.0](https://github.com/supercharge/http-errors/compare/v2.1.0...v3.0.0) - 2024-03-xx
5
6
+### Added
7
+- add default export allowing users to define their own import name: `import MyHttpErrorVariableName from '@supercharge/http-errors'`
8
+
9
### Updated
10
- bump dependencies
11
src/index.ts
@@ -2,3 +2,4 @@
2
import { HttpError } from './http-error.js'
export { HttpError }
+export default HttpError
0 commit comments