Skip to content

Commit

Permalink
Should use "export =" to model CommonJS
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjmcgrath committed Jul 20, 2020
1 parent 24798f8 commit bf4aaf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as express from 'express';

export default jwtAuthz;
export = jwtAuthz;

declare function jwtAuthz(
expectedScopes: jwtAuthz.AuthzScopes,
Expand Down

0 comments on commit bf4aaf9

Please sign in to comment.