mirror of
https://git.mirrors.martin98.com/https://github.com/SigNoz/signoz
synced 2025-10-14 20:01:32 +08:00

* chore: all error utils is added * chore: error page list is added with total page and other handlings * test: unit test case for order is added
7 lines
204 B
TypeScript
7 lines
204 B
TypeScript
const createQueryParams = (params: { [x: string]: string | number }): string =>
|
|
Object.keys(params)
|
|
.map((k) => `${k}=${encodeURI(String(params[k]))}`)
|
|
.join('&');
|
|
|
|
export default createQueryParams;
|