From 7998745f37ce0ccd8c9cee28c613869a364a1737 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 ec50125d51d66..9d1cc63f379d3 100644 --- a/test/lib/next-modes/base.ts +++ b/test/lib/next-modes/base.ts @@ -164,7 +164,9 @@ export class NextInstance { 'react-dom': reactVersion, '@types/react': reactVersion, '@types/react-dom': reactVersion, - 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,