Skip to content

Commit

Permalink
Merge pull request #40 from auth0/ts-export-fix
Browse files Browse the repository at this point in the history
Should use "export =" to model CommonJS
  • Loading branch information
adamjmcgrath committed Jul 21, 2020
2 parents 24798f8 + bf4aaf9 commit 9b73a88
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 9b73a88

Please sign in to comment.