mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-07 00:07:07 +00:00
Use name instead since in this code we use key often for a different meaning.
This commit is contained in:
Vendored
+1
-1
@@ -149,5 +149,5 @@ export type Algorithm = 'HS256' | 'HS384' | 'HS512' | 'RS256' |
|
||||
|
||||
export interface Header {
|
||||
alg: Algorithm;
|
||||
[key: string]: string;
|
||||
[name: string]: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user