datasquirel/package-shared/utils/index.d.ts
Benjamin Toby 7b9ec5404e Updates
2024-12-12 07:01:57 +01:00

14 lines
649 B
TypeScript

export const numberfy: (num: any, decimals?: number) => number;
export const slugify: (str: string) => string;
export const serializeCookies: typeof import("./serialize-cookies");
export const serializeQuery: typeof import("./serialize-query");
export const trimSql: typeof import("./trim-sql");
export const EJSON: {
parse: (string: string | null | number, reviver?: (this: any, key: string, value: any) => any) => {
[x: string]: any;
} | {
[x: string]: any;
}[] | undefined;
stringify: (value: any, replacer?: ((this: any, key: string, value: any) => any) | null, space?: string | number) => string | undefined;
};