build-url icon indicating copy to clipboard operation
build-url copied to clipboard

add typescript definition for single parameter variant

Open IlyaSemenov opened this issue 3 years ago • 0 comments

The single parameter variant of the function call is documented in README:

buildUrl({
  queryParams: {
    foo: 'bar',
    bar: 'baz'
  }
});

but not currently allowed by typescript definitions. The PR fixes that.

IlyaSemenov avatar Aug 06 '21 06:08 IlyaSemenov