diff --git a/types/rison/index.d.ts b/types/rison/index.d.ts index cfd6089fb6..d175f88832 100644 --- a/types/rison/index.d.ts +++ b/types/rison/index.d.ts @@ -2,7 +2,8 @@ // Project: https://github.com/Nanonid/rison // Definitions by: Andrei Kurosh // 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(encoded: string): T[]; -} \ No newline at end of file +}