From ba0ffbcf0faaa4a439286caa476b618a535cd9a7 Mon Sep 17 00:00:00 2001 From: Tobias Wegner Date: Sat, 6 Jul 2019 19:37:39 +0200 Subject: [PATCH] Add types for typescript --- index.d.ts | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 index.d.ts diff --git a/index.d.ts b/index.d.ts new file mode 100644 index 0000000..fa87e48 --- /dev/null +++ b/index.d.ts @@ -0,0 +1,5 @@ +export function decode(querystring : string, separator? : string, equal? : string, options? : { maxKeys : number }) : {[ index : string] : string}; +export function parse(querystring : string, separator? : string, equal? : string, options? : { maxKeys : number }) : {[ index : string] : string}; + +export function encode(object : any, separator? : string, equal? : string, name? : string) : string; +export function stringify(object : any, separator? : string, equal? : string, name? : string) : string; \ No newline at end of file