mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-07 00:07:07 +00:00
http-build-query exports only single function (#43889)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { httpBuildQuery } from 'http-build-query';
|
||||
import httpBuildQuery from 'http-build-query';
|
||||
const queryString = httpBuildQuery({
|
||||
foo: 2,
|
||||
bar: "bar"
|
||||
|
||||
Vendored
+8
-6
@@ -3,9 +3,11 @@
|
||||
// Definitions by: Alex Ungureanu <https://github.com/alexu740>
|
||||
// Definitions: https://github.com/DefinitelyTyped/http-build-query
|
||||
|
||||
export function httpBuildQuery(
|
||||
queryData: {[param: string]: string|number},
|
||||
numericPrefix?: string,
|
||||
argSeparator?: string,
|
||||
tempKey?: string
|
||||
): string;
|
||||
declare function httpBuildQuery(
|
||||
queryData: { [param: string]: string | number },
|
||||
numericPrefix?: string,
|
||||
argSeparator?: string,
|
||||
tempKey?: string,
|
||||
): string;
|
||||
|
||||
export = httpBuildQuery;
|
||||
|
||||
Reference in New Issue
Block a user