Files
echecsfrance/global.d.ts
T
owenrees 90ebb27a7c fix: make typecheck pass in CI for static image imports
- Add next/image-types/global reference to global.d.ts so *.jpeg (and
  other image module) declarations resolve without the gitignored,
  generated next-env.d.ts, which is absent in fresh CI clones
- Run tsc with `--incremental false` in the typeCheck script to bypass
  the stale tsconfig.tsbuildinfo cache that was emitting a phantom
  TS2307 for src/app/[locale]/banner.jpeg
2026-10-01 22:28:18 +02:00

7 lines
199 B
TypeScript

/// <reference types="next/image-types/global" />
// Use type safe message keys with `next-intl`
type Messages = typeof import("./src/messages/fr.json");
interface IntlMessages extends Messages {}