eigent/package/@stackframe/stack-shared/dist/utils/compile-time.d.ts
2025-08-12 01:16:39 +02:00

8 lines
359 B
TypeScript

/**
* Returns the first argument passed to it, but compilers won't be able to optimize it out. This is useful in some
* cases where compiler warnings go awry; for example, when importing things that may not exist (but are guaranteed
* to exist at runtime).
*/
declare function scrambleDuringCompileTime<T>(t: T): T;
export { scrambleDuringCompileTime };