Use name instead since in this code we use key often for a different meaning.

This commit is contained in:
Anuraag Agrawal
2018-08-17 12:47:02 +09:00
committed by GitHub
parent e4d1d1b9a4
commit f62ee2bc69
+1 -1
View File
@@ -149,5 +149,5 @@ export type Algorithm = 'HS256' | 'HS384' | 'HS512' | 'RS256' |
export interface Header {
alg: Algorithm;
[key: string]: string;
[name: string]: string;
}