/** * TypeScript's standard library, vendored as SOURCE TEXT. * * The edge toolchain runs the real compiler inside a Worker (see ./typecheck.ts), * and a Worker has no filesystem: `ts.sys` does not exist there, so the compiler * cannot read its own lib files the way it does in Node. It reads them out of a * plain lookup instead, and these strings are what fills it — no `fs`, no * bundler asset, no deploy-time copy step. `tsc` emits this module as `.js` * with the strings intact. * * THE PIN. `typescript` is pinned EXACTLY in packages/apps/package.json (as the * `typescript-6` alias, and as the `/edge` peer range), and these strings are a * copy of that exact tarball's `lib/`. Bumping the pin without regenerating this * file changes nothing at runtime — the pin is the provenance of these bytes, * not the code path. Regenerate in the same commit as any bump. * * THE CLOSURE is everything `lib.es2020.d.ts` references, transitively — the * standard library a component screen is checked against * (checking/component-screen.ts:534), and nothing else. No DOM lib, for the * gauntlet's own reason: `document` and `fetch` genuinely do not exist in a * screen, so naming one must be an error. * * Regenerate (from packages/apps, after `pnpm install`): * node scripts/generate-edge-lib-source.mjs */ /** The pinned TypeScript these strings were copied from. */ export declare const EDGE_TYPESCRIPT_VERSION = "6.0.3"; /** What `getDefaultLibFileName` must answer: a name this table carries. */ export declare const EDGE_DEFAULT_LIB = "lib.es2020.d.ts"; /** 45 lib files, 434650 bytes, keyed by the bare name the compiler asks for. */ export declare const EDGE_LIB_SOURCES: Record; //# sourceMappingURL=lib-source.d.ts.map