locutus
Version:
Locutus other languages' standard libraries to JavaScript for fun and educational purposes
9 lines (8 loc) • 428 B
TypeScript
type HttpBuildQueryEncType = 'PHP_QUERY_RFC1738' | 'PHP_QUERY_RFC3986';
type QueryScalar = string | number | boolean | null;
type QueryValue = QueryScalar | QueryObject | QueryValue[];
type QueryObject = {
[key: string]: QueryValue;
};
export declare function http_build_query(formdata: QueryObject | QueryValue[], numericPrefix?: string | number, argSeparator?: string, encType?: HttpBuildQueryEncType): string;
export {};