Sha256: 5b34786b5d59b4e627c76f1294a00b5e92260a31ca87b29d9b7cb9acd3ba1acc

Contents?: true

Size: 961 Bytes

Versions: 9

Compression:

Stored size: 961 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]: NodeJS.PoorMansUnknown;
    }

    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

9 entries across 9 versions & 1 rubygems

Version Path
disco_app-0.18.0 test/dummy/node_modules/@types/node/querystring.d.ts
disco_app-0.18.2 test/dummy/node_modules/@types/node/querystring.d.ts
disco_app-0.16.1 test/dummy/node_modules/@types/node/querystring.d.ts
disco_app-0.15.2 test/dummy/node_modules/@types/node/querystring.d.ts
disco_app-0.18.4 test/dummy/node_modules/@types/node/querystring.d.ts
disco_app-0.18.1 test/dummy/node_modules/@types/node/querystring.d.ts
disco_app-0.12.7.pre.puma.pre.3 test/dummy/node_modules/@types/node/querystring.d.ts
disco_app-0.14.0 test/dummy/node_modules/@types/node/querystring.d.ts
disco_app-0.13.6.pre.puma.pre.3 test/dummy/node_modules/@types/node/querystring.d.ts