Skip to content

Commit

Permalink
feat: compatability with regular import
Browse files Browse the repository at this point in the history
  • Loading branch information
Koby committed Dec 23, 2022
1 parent 9cd80c0 commit 397b920
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "az-express-errors",
"version": "1.2.1",
"version": "1.2.2",
"description": "Better way to deal with express error handling. The right way to deal with async errors",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,5 @@ export default function zoneErrors(): RequestHandler {
});
};
}

module.exports = zoneErrors;

0 comments on commit 397b920

Please sign in to comment.