4 lines
154 B
TypeScript
4 lines
154 B
TypeScript
export function parseOptions(options?: { [s: string]: any }): string {
|
|
return options ? new URLSearchParams(Object.entries(options)).toString() : '';
|
|
}
|