Skip to content

Commit 45575a6

Browse files
committed
Rename to JSONWebKey
1 parent b9cee65 commit 45575a6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

index.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ declare namespace JwksRsa {
3030
timeout?: number;
3131
requestAgent?: HttpAgent | HttpsAgent;
3232
fetcher?(jwksUri: string): Promise<{ keys: any }>;
33-
getKeysInterceptor?(): Promise<UnknownKey[]>;
33+
getKeysInterceptor?(): Promise<JSONWebKey[]>;
3434
}
3535

36-
interface UnknownKey {
36+
interface JSONWebKey {
3737
kid: string,
3838
alg: string,
39-
[key: string]: any
39+
[key: string]: any
4040
}
4141

4242
interface CertSigningKey {

0 commit comments

Comments
 (0)