Sha256: 66ce86394b4ced375bd59338265a190a5cbe0b78a15bdf64e34b46d3a5ffaa5d

Contents?: true

Size: 1017 Bytes

Versions: 7

Compression:

Stored size: 1017 Bytes

Contents

declare module "querystring" {
    interface StringifyOptions {
        encodeURIComponent?: (str: string) => string;
    }

    interface ParseOptions {
        maxKeys?: number;
        decodeURIComponent?: (str: string) => string;
    }

    interface ParsedUrlQuery { [key: string]: string | string[]; }

    interface ParsedUrlQueryInput {
        [key: string]: string | number | boolean | string[] | number[] | boolean[] | undefined | null;
    }

    function stringify(obj?: ParsedUrlQueryInput, sep?: string, eq?: string, options?: StringifyOptions): string;
    function parse(str: string, sep?: string, eq?: string, options?: ParseOptions): ParsedUrlQuery;
    /**
     * The querystring.encode() function is an alias for querystring.stringify().
     */
    const encode: typeof stringify;
    /**
     * The querystring.decode() function is an alias for querystring.parse().
     */
    const decode: typeof parse;
    function escape(str: string): string;
    function unescape(str: string): string;
}

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
enju_library-0.3.8 spec/dummy/node_modules/@types/node/querystring.d.ts
condenser-0.2 lib/condenser/processors/node_modules/@types/node/querystring.d.ts
condenser-0.1 lib/condenser/processors/node_modules/@types/node/querystring.d.ts
condenser-0.0.12 lib/condenser/processors/node_modules/@types/node/querystring.d.ts
condenser-0.0.11 lib/condenser/processors/node_modules/@types/node/querystring.d.ts
condenser-0.0.10 lib/condenser/processors/node_modules/@types/node/querystring.d.ts
condenser-0.0.9 lib/condenser/processors/node_modules/@types/node/querystring.d.ts