mirror of
https://github.com/eigent-ai/eigent.git
synced 2026-04-30 12:40:10 +00:00
8 lines
359 B
TypeScript
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 };
|