From ebbfbd31dbdf0ff19c69b43e38c0c27c75943789 Mon Sep 17 00:00:00 2001 From: sebastienlorber Date: Fri, 25 Aug 2023 10:07:42 +0200 Subject: [PATCH] Fix website typecheck --- package.json | 2 +- website/tsconfig.json | 2 -- yarn.lock | 8 ++++---- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 2d2e0b2f1ae0..2ba6e75b2dea 100644 --- a/package.json +++ b/package.json @@ -72,7 +72,7 @@ "@testing-library/react-hooks": "^8.0.1", "@types/fs-extra": "^9.0.13", "@types/jest": "^29.5.3", - "@types/lodash": "^4.14.195", + "@types/lodash": "^4.14.197", "@types/node": "^18.16.19", "@types/prompts": "^2.4.4", "@types/react": "^18.2.15", diff --git a/website/tsconfig.json b/website/tsconfig.json index e164adc7f212..c2a58690c753 100644 --- a/website/tsconfig.json +++ b/website/tsconfig.json @@ -28,8 +28,6 @@ "noUnusedParameters": false, "importsNotUsedAsValues": "remove", - "moduleResolution": "NodeNext", - // This is important. We run `yarn tsc` in website so we can catch issues // with our declaration files (mostly names that are forgotten to be // imported, invalid semantics...). Because we don't have end-to-end type diff --git a/yarn.lock b/yarn.lock index f1154600330f..f30c060036ca 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3396,10 +3396,10 @@ resolved "https://registry.yarnpkg.com/@types/katex/-/katex-0.16.1.tgz#e1faa29f131c241a7669e65bdf8ce470c9c4e3a9" integrity sha512-cwglq2A63Yk082CQk0t8LIoDhZAVgJqkumLyk3grpg3K8sevaDW//Qsspmxj9Sf+97biqt79CfAlPrvizHlP0w== -"@types/lodash@^4.14.195": - version "4.14.195" - resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.195.tgz#bafc975b252eb6cea78882ce8a7b6bf22a6de632" - integrity sha512-Hwx9EUgdwf2GLarOjQp5ZH8ZmblzcbTBC2wtQWNKARBSxM9ezRIAUpeDTgoQRAFB0+8CNWXVA9+MaSOzOF3nPg== +"@types/lodash@^4.14.197": + version "4.14.197" + resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.197.tgz#e95c5ddcc814ec3e84c891910a01e0c8a378c54b" + integrity sha512-BMVOiWs0uNxHVlHBgzTIqJYmj+PgCo4euloGF+5m4okL3rEYzM2EEv78mw8zWSMM57dM7kVIgJ2QDvwHSoCI5g== "@types/mdast@^3.0.0", "@types/mdast@^3.0.12": version "3.0.12"