Skip to content

Commit

Permalink
perf: allow the boolean type in a query object
Browse files Browse the repository at this point in the history
  • Loading branch information
vansergen committed Sep 21, 2020
1 parent abd569b commit 65f53a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1418,7 +1418,7 @@ export class RestClient {
*/
public static setQuery(
url: URL,
query: Record<string, string | number | undefined>
query: Record<string, string | number | boolean | undefined>
): void {
for (const key in query) {
const value = query[key];
Expand Down

0 comments on commit 65f53a5

Please sign in to comment.