diff --git a/global.d.ts b/global.d.ts index a860e3d..f0d8f3d 100644 --- a/global.d.ts +++ b/global.d.ts @@ -1,3 +1,5 @@ +/// + // Use type safe message keys with `next-intl` type Messages = typeof import("./src/messages/fr.json"); diff --git a/package.json b/package.json index 6d4071e..f01ddec 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "build": "next build --webpack", "start": "next start", "lint": "oxlint", - "typeCheck": "tsc -p ./tsconfig.json", + "typeCheck": "tsc -p ./tsconfig.json --incremental false", "postinstall": "patch-package", "format": "oxfmt --check", "format:fix": "oxfmt",