UNPKG

workspace-integrations

Version:
15 lines (14 loc) 680 B
declare function pathMatch(_actual: string, _pattern: string): boolean; declare function isStr(a: any): boolean; declare function isFun(a: any): boolean; declare function isObj(a: any): boolean; declare function shortName(deviceId: string): string; declare function sleep(ms: number): Promise<unknown>; declare function removePath(path: string, object: any): any; declare function toTree(config: any): {}; declare function emptyObj(obj: object): boolean; interface StringObject { [name: string]: string | number; } declare function toUrlParams(object: StringObject): any; export { toTree, removePath, sleep, shortName, pathMatch, isStr, isObj, isFun, toUrlParams, emptyObj };