Added a necessary exporting to rison

This commit is contained in:
YairTawil
2017-06-19 19:47:14 +03:00
parent 8aff840533
commit 3ae7188ebc

View File

@@ -2,7 +2,8 @@
// Project: https://github.com/Nanonid/rison
// Definitions by: Andrei Kurosh <https://github.com/impworks>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
export = rison;
export as namespace rison;
declare var rison: IRison;
interface IRison {
@@ -54,4 +55,4 @@ interface IRison {
* @returns {} Resulting array.
*/
decode_array<T>(encoded: string): T[];
}
}