diff --git a/package-lock.json b/package-lock.json index ee67605d97..c82fc4c88c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -99,7 +99,7 @@ "stylelint": "^14.7.1", "stylelint-config-standard-scss": "^4.0.0", "ts-jest": "^28.0.7", - "typescript": "^4.9.5" + "typescript": "^4.7.4" }, "peerDependencies": { "react": "^16.8.6 || ^17.0.0", diff --git a/package.json b/package.json index 0cdca45f3a..b5529a8e10 100644 --- a/package.json +++ b/package.json @@ -130,7 +130,7 @@ "stylelint": "^14.7.1", "stylelint-config-standard-scss": "^4.0.0", "ts-jest": "^28.0.7", - "typescript": "^4.9.5" + "typescript": "^4.7.4" }, "jest": { "testEnvironment": "jsdom", diff --git a/tsconfig.json b/tsconfig.json index ab881ba4a2..918e6ddb37 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,8 +1,8 @@ { "extends": "@edx/typescript-config", "compilerOptions": { - "allowJs": true, "noImplicitAny": true, + "allowJs": false, "rootDir": "src", }, "include": ["src"], diff --git a/www/tsconfig.json b/www/tsconfig.json index a5a5d70042..35e06753d6 100644 --- a/www/tsconfig.json +++ b/www/tsconfig.json @@ -1,6 +1,7 @@ { "extends": "../tsconfig.json", "compilerOptions": { + "rootDir": "src", "resolveJsonModule": true, "noImplicitAny": false, "paths": { @@ -8,5 +9,6 @@ "~paragon-style": ["../scss"], "~paragon-icons": ["../icons"], } - } + }, + "include": ["src"] }