makearmy-app/node_modules/next/dist/server/node-environment-extensions/random.d.ts

9 lines
435 B
TypeScript
Raw Normal View History

2025-09-22 10:37:53 -04:00
/**
* We extend Math.random() during builds and revalidates to ensure that prerenders don't observe randomness
* When dynamicIO is enabled. randomness is a form of IO even though it resolves synchronously. When dyanmicIO is
* enabled we need to ensure that randomness is excluded from prerenders.
*
* The extensions here never error nor alter the random generation itself and thus should be transparent to callers.
*/
export {};