Skip to content

Commit 70534ed

Browse files
committed
Add comment
1 parent d9649d4 commit 70534ed

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

library/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ export {
2626
addKoaMiddleware,
2727
};
2828

29+
// Required for ESM / TypeScript default export support
30+
// e.g. import Zen from '@aikidosec/firewall'; would not work without this, as Zen.setUser would be undefined
2931
export default {
3032
setUser,
3133
shouldBlockRequest,

0 commit comments

Comments
 (0)