mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
17 lines
441 B
TypeScript
17 lines
441 B
TypeScript
// 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/DefinitelyTyped/DefinitelyTyped
|
|
|
|
|
|
declare namespace JwtDecode {
|
|
interface JwtDecodeStatic {
|
|
(token: string): any;
|
|
}
|
|
}
|
|
|
|
declare module 'jwt-decode' {
|
|
var jwtDecode: JwtDecode.JwtDecodeStatic;
|
|
export = jwtDecode;
|
|
}
|