From f62ee2bc692958546a300ce540eee64d2d481941 Mon Sep 17 00:00:00 2001 From: Anuraag Agrawal Date: Fri, 17 Aug 2018 12:47:02 +0900 Subject: [PATCH] Use name instead since in this code we use key often for a different meaning. --- types/jws/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/jws/index.d.ts b/types/jws/index.d.ts index 030d670f4a..fdbf1851c4 100644 --- a/types/jws/index.d.ts +++ b/types/jws/index.d.ts @@ -149,5 +149,5 @@ export type Algorithm = 'HS256' | 'HS384' | 'HS512' | 'RS256' | export interface Header { alg: Algorithm; - [key: string]: string; + [name: string]: string; }