fix linting
This commit is contained in:
@@ -2,8 +2,7 @@
|
||||
export function parseOptions(options?: Record<string, any>): string {
|
||||
return options
|
||||
? new URLSearchParams(
|
||||
Object.entries(options)
|
||||
.filter(([k, v]) => v) // remove undefined
|
||||
Object.entries(options).filter(([, v]) => v) // remove undefined
|
||||
).toString()
|
||||
: '';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user