From eecb0a10ff4e46c14856deba0e3f41cca65fafe5 Mon Sep 17 00:00:00 2001 From: Chris Olivier Date: Thu, 25 Oct 2018 09:23:53 +0200 Subject: [PATCH] Update index.d.ts Corrected return type of jwtDecode from "string | null" to "object | null" --- types/arangodb/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/arangodb/index.d.ts b/types/arangodb/index.d.ts index 76641f5270..5babc4a961 100644 --- a/types/arangodb/index.d.ts +++ b/types/arangodb/index.d.ts @@ -1698,7 +1698,7 @@ declare module "@arangodb/crypto" { key: string | null, token: string, noVerify?: boolean - ): string | null; + ): object | null; function md5(message: string): string; function sha1(message: string): string; function sha224(message: string): string;