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,