@promptbook/remote-server
Version:
It's time for a paradigm shift. The future of software in plain English, French or Latin
15 lines (14 loc) • 557 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: Probbably remove in favour of `keepImported`
* TODO: [1] This maybe does memory leak
*/