@promptbook/azure-openai
Version:
Promptbook: Run AI apps in plain human language across multiple models and platforms
15 lines (14 loc) • 556 B
TypeScript
import type { really_any } from '../../../utils/organization/really_any';
/**
* Does nothing, but preserves the function in the bundle
* Compiler is tricked into thinking the function is used
*
* @param value any function to preserve
* @returns nothing
* @private internal function of `JavascriptExecutionTools` and `JavascriptEvalExecutionTools`
*/
export declare function preserve(func: (...params: ReadonlyArray<really_any>) => unknown): void;
/**
* TODO: Probably remove in favour of `keepImported`
* TODO: [1] This maybe does memory leak
*/