mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-01 07:40:10 +00:00
Added a necessary exporting to rison
This commit is contained in:
5
types/rison/index.d.ts
vendored
5
types/rison/index.d.ts
vendored
@@ -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[];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user