@azuro-org/toolkit
Version:
This framework-agnostic package provides essential utilities for building applications on the Azuro Protocol.
5 lines (4 loc) • 311 B
TypeScript
type Primitive = bigint | string | number | boolean | null | undefined;
/** Serialize an object to URLSearchParams, filtering undefined values, and handling arrays to the expected format */
export declare function serializeApiParams(struct: Record<string, Primitive | Primitive[]>): URLSearchParams;
export {};