@promptbook/remote-server
Version:
Promptbook: Create persistent AI agents that turn your company's scattered knowledge into action
20 lines (19 loc) • 656 B
TypeScript
import type { chococake } from './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 within the repository
*/
export declare function $preserve(...value: Array<chococake>): void;
/**
* DO NOT USE THIS FUNCTION
* Only purpose of this function is to trick the compiler and javascript engine
* that `_preserved` array can be used in the future and should not be garbage collected
*
* @private internal for `preserve`
*/
export declare function __DO_NOT_USE_getPreserved(): Array<chococake>;