mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-30 11:14:27 +08:00
jwt-decode definition file added
This commit is contained in:
Vendored
+16
@@ -0,0 +1,16 @@
|
||||
// Type definitions for jwt-decode v1.4.0
|
||||
// Project: https://github.com/auth0/jwt-decode
|
||||
// Definitions by: Giedrius Grabauskas <https://github.com/QuatroDevOfficial/>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
|
||||
declare module JwtDecode {
|
||||
interface JwtDecodeStatic {
|
||||
(token: string): any;
|
||||
}
|
||||
}
|
||||
|
||||
declare module 'jwt-decode' {
|
||||
var jwtDecode: JwtDecode.JwtDecodeStatic;
|
||||
export = jwtDecode;
|
||||
}
|
||||
Reference in New Issue
Block a user