Merge pull request #30027 from chrolivier/arangodb-crypto-jwtDecode

Corrected return type of arangodb/crypto.jwtDecode function to "object | null"
This commit is contained in:
Ron Buckton 2018-10-25 13:48:08 -07:00 committed by GitHub
commit 650ca90dfc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;