From cadbd047ca953d6d8171439f2efd7bb98a5d8e73 Mon Sep 17 00:00:00 2001 From: Filip Skokan Date: Thu, 3 Sep 2020 18:29:02 +0200 Subject: [PATCH] fix(typescript): allow Buffer when verifying detached signature --- types/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/index.d.ts b/types/index.d.ts index 015cd61979..7dddf3b007 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -311,7 +311,7 @@ export namespace JWKS { export namespace JWS { interface JWSJSON { - payload: string; + payload: string | Buffer; } interface JWSRecipient {