UNPKG

qms-js

Version:

A common library that can be used for fe and be

18 lines (17 loc) 601 B
export default class Helper { static emptyGuid: string; static guid(): string; static sleep(seconds: number): Promise<void>; static now(days: number): Date; static formUrlEncoded(x: unknown): string; static jsonToForm(body: unknown): string; static random(len?: number): string; static random48(): string; static randomNumber(min: number, max: number): number; /** * Before posting data to api. we will try to remove undefined/null properties * because * @param data any */ static removeInvalidFields(data: any): any; }