fix linting

This commit is contained in:
Blake Joynes
2024-10-04 01:58:25 -04:00
parent 6157405fe1
commit 9e1e65205c
2 changed files with 2 additions and 3 deletions

View File

@@ -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()
: '';
}