UNPKG

261 BTypeScriptView Raw
1/**
2 * Serializes a number, turning non-numeric values into strings.
3 *
4 * @param value The number to serialize.
5 * @returns A number, or a string if the given number was non-numeric.
6 */
7export declare const serializeFloat: (value: number) => string | number;