mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-28 12:43:06 +08:00
Merge pull request #5365 from tesenwein/patch-3
Should be implemented for non Callback Calls
This commit is contained in:
Vendored
+1
@@ -65,6 +65,7 @@ declare module "jsonwebtoken" {
|
||||
* @param {VerifyOptions} [options] - Options for the verification
|
||||
* @param {Function} callback - Callback to get the decoded token on
|
||||
*/
|
||||
function verify(token: string, secretOrPublicKey: string): void;
|
||||
function verify(token: string, secretOrPublicKey: string, callback: VerifyCallbak): void;
|
||||
function verify(token: string, secretOrPublicKey: Buffer, callback: VerifyCallbak): void;
|
||||
function verify(token: string, secretOrPublicKey: string, options: VerifyOptions, callback: VerifyCallbak): void;
|
||||
|
||||
Reference in New Issue
Block a user