UNPKG

@promptbook/remote-server

Version:

Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action

14 lines (13 loc) 521 B
import type { WritableDeep } from 'type-fest'; /** * Creates a deep clone of the given object * * Note: [🔂] This function is idempotent. * Note: This method only works for objects that are fully serializable to JSON and do not contain functions, Dates, or special types. * * @param objectValue The object to clone. * @returns A deep, writable clone of the input object. * * @public exported from `@promptbook/utils` */ export declare function deepClone<TObject>(objectValue: TObject): WritableDeep<TObject>;