@voiceflow/common
Version:
Junk drawer of utility functions
6 lines • 312 B
TypeScript
import cuid from 'cuid';
import type { EmptyObject } from '../types.js';
export { cuid };
export declare const objectID: () => string;
export declare const remapObjectIDs: <T extends Readonly<EmptyObject>>(object: T, lookupMap: Record<string, string> | Map<string, string>) => T;
//# sourceMappingURL=id.d.ts.map