From 0750d2c46686b5a49cf889aa01655d57b5939cbf Mon Sep 17 00:00:00 2001 From: Filip Skokan Date: Sat, 27 Apr 2019 18:09:41 +0200 Subject: [PATCH] fix: oct key ts "k" type fix --- lib/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/index.d.ts b/lib/index.d.ts index 0b144378c3..474b0fa4cc 100644 --- a/lib/index.d.ts +++ b/lib/index.d.ts @@ -43,7 +43,7 @@ export namespace JWK { interface JWKOctKey extends KeyParameters { kty: 'oct', - k: string + k?: string } interface JWKECKey extends KeyParameters { @@ -118,7 +118,7 @@ export namespace JWK { private: false public: false secret: true - k: string + k?: string toJWK(private?: boolean): JWKOctKey }