jwt-decode definition file added

This commit is contained in:
Giedrius Grabauskas
2015-11-29 00:28:28 +02:00
parent c953bcda0f
commit e2e1e881bb
+16
View File
@@ -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;
}