From af6a3d18a2ea8c08452da027071b44f6c9f508a4 Mon Sep 17 00:00:00 2001 From: Jiachi Liu Date: Mon, 9 Sep 2024 19:53:24 +0200 Subject: [PATCH] test: lock ts type check (#69889) --- test/lib/next-modes/base.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/lib/next-modes/base.ts b/test/lib/next-modes/base.ts index 561e5229302fc..2797fa63a0cc9 100644 --- a/test/lib/next-modes/base.ts +++ b/test/lib/next-modes/base.ts @@ -173,7 +173,9 @@ export class NextInstance { 'react-dom': reactVersion, '@types/react': 'latest', '@types/react-dom': 'latest', - typescript: 'latest', + // TODO: fix the TS error with the TS 5.6 + // x-ref: https://github.com/vercel/next.js/actions/runs/10777104696/job/29887663970?pr=69784 + typescript: '5.5.4', '@types/node': 'latest', ...this.dependencies, ...this.packageJson?.dependencies,