Update index.d.ts

Corrected return type of jwtDecode from "string | null" to "object | null"
This commit is contained in:
Chris Olivier
2018-10-25 09:23:53 +02:00
committed by GitHub
parent 0e0e730ec8
commit eecb0a10ff

View File

@@ -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;