UNPKG

309 BTypeScriptView Raw
1/**
2 * Encode the given object to URI Component encoded query string.
3 *
4 * @param object The object to encode.
5 * @param keepArrayIndex Whether to keep array index.
6 * @returns Returns the URI Component encoded query string.
7 */
8export default function encode(object: any, keepArrayIndex?: boolean): string;