DefinitelyTyped/jwt-decode/jwt-decode.d.ts
2016-03-17 21:06:54 +09:00

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