Skip to content

Commit a3b26e2

Browse files
authored
Merge pull request #310 from auth0/fix-express-import
Fix issue with ES Express import
2 parents e7317dd + 2945f8f commit a3b26e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Agent as HttpAgent } from 'http';
22
import { Agent as HttpsAgent } from 'https';
33
import type {Jwt, Secret} from 'jsonwebtoken'
4-
import Express from 'express'
4+
import Express = require('express')
55

66
declare function JwksRsa(options: JwksRsa.Options): JwksRsa.JwksClient;
77

@@ -60,7 +60,7 @@ declare namespace JwksRsa {
6060
* Types are duplicated from express-jwt@6/7
6161
* due to numerous breaking changes in the lib's types
6262
* whilst this lib supportd both <=6 & >=7 implementations
63-
*
63+
*
6464
* express-jwt's installed version (or its @types)
6565
* will be the types used at transpilation time
6666
*/

0 commit comments

Comments
 (0)