/** * Ambient fallback types for a generated `server-manifest` module. * * `nifra build --target ` generates `server-manifest.ts` NEXT TO the server entry at build time, so a * HAND-WRITTEN entry that imports `./server-manifest` has nothing to typecheck against until the first * build - which is what forces a `@ts-nocheck` onto the very file that deploys. Reference this so the * import is typed before then. Either from a `.d.ts` in your project: * * ```ts * /// * ``` * * or list it in `tsconfig.json` -> `compilerOptions.types: ["@nifrajs/web/server-manifest"]`. * * Once a build (or `nifra sync-manifest`) has written the real `server-manifest` next to your entry, * TypeScript resolves the relative import to that file and its types win; this only fills the gap before * then. Not needed with `nifra build --target`, which generates and bundles its own entry - a hand-written * entry is the case this exists for. */ declare module "*/server-manifest" { import type { Manifest } from "@nifrajs/web" /** Hashed client-bootstrap URL the entry passes to `createWebApp` (the hydration `