QMetaRam / node_modules /@tanstack /query-core /build /legacy /environmentManager.d.ts
metarm's picture
Upload folder using huggingface_hub (part 11)
96c8713 verified
Raw History Blame Contribute Delete
566 Bytes
//#region src/environmentManager.d.ts
type IsServerValue = () => boolean;
/**
* Returns whether the current runtime should be treated as a server environment.
*/
declare const isServer: () => boolean;
/**
* Manages environment detection used by TanStack Query internals.
*/
declare const environmentManager: {
isServer: () => boolean;
/**
* Overrides the server check globally.
*/
setIsServer(isServerValue: IsServerValue): void;
};
//#endregion
export { IsServerValue, environmentManager, isServer };
//# sourceMappingURL=environmentManager.d.ts.map