opencart-manager
Version:
Node.js package helping to manage your opencart store data easily.
12 lines (11 loc) • 764 B
TypeScript
import { TFieldset } from "./types";
export declare function toMysqlTimestamp(date: string | number | Date): string;
export declare function toFieldset<T>(data: T[]): Array<TFieldset<T>>;
export declare function toFieldset<T>(data: T): TFieldset<T>;
export declare function convertPropertyNames(obj: object, callback: (input: string) => string): object;
export declare function camelCase(input: string): string;
export declare function snakeCase(input: string): string;
export declare function camelCasePropertyNames(obj: object): object;
export declare function snakeCasePropertyNames(obj: object): object;
export declare function PromisifyDelay<T>(data: T, delay: number): Promise<T>;
export declare function isInteger(number: any): number is number;