@promptbook/azure-openai
Version:
Promptbook: Run AI apps in plain human language across multiple models and platforms
15 lines (14 loc) • 550 B
TypeScript
import type { WritableDeep } from 'type-fest';
/**
* Creates a deep clone of the given object
*
* 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>;
/**
* TODO: [🧠] Is there a way how to meaningfully test this utility
*/