moved option parsing in superclass 'get' method

This commit is contained in:
DerPenz
2023-04-14 15:54:27 +02:00
parent 7cccdb9929
commit 1200064194
2 changed files with 5 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
export function parseOptions(
options?: { [s: string]: any },
options?: Record<string, any>,
): string {
return options
? new URLSearchParams(Object.entries(options)).toString()