diff --git a/docs/tsconfig.json b/docs/tsconfig.json index 71d443e218e69..a552a39f3001a 100644 --- a/docs/tsconfig.json +++ b/docs/tsconfig.json @@ -8,18 +8,8 @@ "resolveJsonModule": true, "skipLibCheck": true, "esModuleInterop": true, - "types": ["react", "node"], "incremental": true }, - "include": [ - "pages/**/*.ts*", - "data/**/*", - "src/modules/components/**/*", - "next.config.mjs", - "../node_modules/@mui/material/themeCssVarsAugmentation", - "../node_modules/dayjs/plugin/utc.d.ts", - "../node_modules/dayjs/plugin/timezone.d.ts", - "../node_modules/moment-timezone/index.d.ts" - ], + "include": ["pages/**/*.ts*", "data/**/*", "src/modules/components/**/*", "next.config.mjs"], "exclude": ["docs/.next", "docs/export", "pages/playground"] } diff --git a/test/tsconfig.json b/test/tsconfig.json index 00ecbb9cd67c0..69f31103af146 100644 --- a/test/tsconfig.json +++ b/test/tsconfig.json @@ -1,16 +1,13 @@ { "extends": "../tsconfig.json", "compilerOptions": { - "types": ["react", "mocha", "node"] + "types": [ + "mocha", + "@mui/material/themeCssVarsAugmentation", + "dayjs/plugin/utc.d.ts", + "dayjs/plugin/timezone.d.ts" + ] }, - "include": [ - "e2e/**/*", - "e2e-website/**/*", - "regressions/**/*", - "@mui-internal/test-utils/initMatchers.ts", - "./node_modules/@mui/material/themeCssVarsAugmentation", - "./node_modules/dayjs/plugin/utc.d.ts", - "./node_modules/dayjs/plugin/timezone.d.ts" - ], + "include": ["e2e/**/*", "e2e-website/**/*", "regressions/**/*"], "exclude": ["regressions/build/**/*", "regressions/screenshots/**/*"] }