UNPKG

@impler/shared

Version:

Reusable types and classes to shared between apps and libraries

10 lines 683 B
export declare const changeToCode: (str?: string) => string; export declare function isBrowser(): boolean; export declare function getErrorObject(error: string): Record<string, string>; export declare function numberFormatter(num: number, digits?: number): string; export declare function replaceVariablesInString(str: string, obj: Record<string, string>): string; export declare function downloadFile(blob: Blob, name: string): void; export declare function constructQueryString(obj: Record<string, string | number>): string; export declare const isObject: (value: any) => boolean; export declare const convertStringToJson: (value: any) => any; //# sourceMappingURL=helpers.d.ts.map