From 62af83655488c7cef4bdba52221a5e6324e6fba8 Mon Sep 17 00:00:00 2001 From: Vikrant Gupta Date: Thu, 7 Mar 2024 11:53:05 +0530 Subject: [PATCH] fix: [SIG-549]: bring the ts config for pre-commit hook in sync with github CI (#4660) * chore: dummy commit * chore: dummy commit * chore: dummy commit --- frontend/scripts/typecheck-staged.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/scripts/typecheck-staged.sh b/frontend/scripts/typecheck-staged.sh index 7da93c088e..0990e81ba4 100644 --- a/frontend/scripts/typecheck-staged.sh +++ b/frontend/scripts/typecheck-staged.sh @@ -9,7 +9,7 @@ done # create temporary tsconfig which includes only passed files str="{ \"extends\": \"./tsconfig.json\", - \"include\": [\"src/types/global.d.ts\",\"src/typings/window.ts\", \"src/typings/chartjs-adapter-date-fns.d.ts\", \"src/typings/environment.ts\" ,\"src/container/OnboardingContainer/typings.d.ts\",$files] + \"include\": [ \"src/typings/**/*.ts\",\"src/**/*.d.ts\", \"./babel.config.js\", \"./jest.config.ts\", \"./.eslintrc.js\",\"./__mocks__\",\"./conf/default.conf\",\"./public\",\"./tests\",\"./playwright.config.ts\",\"./commitlint.config.ts\",\"./webpack.config.js\",\"./webpack.config.prod.js\",\"./jest.setup.ts\",\"./**/*.d.ts\",$files] }" echo $str > tsconfig.tmp