diff --git a/build/package.json b/build/package.json index f683c3241dc..c1910d8b201 100644 --- a/build/package.json +++ b/build/package.json @@ -52,7 +52,7 @@ "p-limit": "^3.1.0", "plist": "^3.0.1", "source-map": "0.6.1", - "typescript": "^4.4.0-dev.20210528", + "typescript": "^4.4.0-dev.20210607", "vsce": "1.48.0", "vscode-universal": "deepak1556/universal#61454d96223b774c53cda10f72c2098c0ce02d58" }, diff --git a/build/yarn.lock b/build/yarn.lock index b0449db06ee..f30b35e4830 100644 --- a/build/yarn.lock +++ b/build/yarn.lock @@ -1879,10 +1879,10 @@ typescript@^4.1.3: resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.1.3.tgz#519d582bd94cba0cf8934c7d8e8467e473f53bb7" integrity sha512-B3ZIOf1IKeH2ixgHhj6la6xdwR9QrLC5d1VKeCSY4tvkqhF2eqd9O7txNlS0PO3GrBAFIdr3L1ndNwteUbZLYg== -typescript@^4.4.0-dev.20210528: - version "4.4.0-dev.20210528" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.4.0-dev.20210528.tgz#42453bc42e9d9df8ad0741c207c24d56407c0347" - integrity sha512-ACV+mYKC+PhWUXIDUL6qmFClIdrKc20KRxDePt8bniCgkKQD4XRYKl7m02paxJM3nTMRdlfjs0ncaslA5BA1GA== +typescript@^4.4.0-dev.20210607: + version "4.4.0-dev.20210607" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.4.0-dev.20210607.tgz#ea802e420785ef3b6b9c2e12d1ff4b8d2e52ee19" + integrity sha512-tKAp1IL4APSdxD7xHLDU6tIDOEN8yJOTUGG+cSdLunmysl3yOkGrdUbByDaFDmGjKywghGhQvcG8gOqbLUcDcg== uc.micro@^1.0.1, uc.micro@^1.0.5: version "1.0.5" diff --git a/extensions/microsoft-authentication/tsconfig.json b/extensions/microsoft-authentication/tsconfig.json index 2c2bce4b8aa..6dabc0879a9 100644 --- a/extensions/microsoft-authentication/tsconfig.json +++ b/extensions/microsoft-authentication/tsconfig.json @@ -1,22 +1,22 @@ { + "extends": "../tsconfig.base.json", "compilerOptions": { "baseUrl": ".", "experimentalDecorators": true, - "forceConsistentCasingInFileNames": true, - "lib": ["es2019"], "module": "commonjs", "moduleResolution": "node", "noFallthroughCasesInSwitch": true, - "noImplicitReturns": true, "noUnusedLocals": false, "outDir": "dist", "resolveJsonModule": true, "rootDir": "src", "skipLibCheck": true, - "sourceMap": true, - "strict": true, - "target": "es2019" + "sourceMap": true }, - "exclude": ["node_modules"], - "include": ["src/**/*"] + "exclude": [ + "node_modules" + ], + "include": [ + "src/**/*" + ] } diff --git a/extensions/tsconfig.base.json b/extensions/tsconfig.base.json index f517dc53729..38f105b84f4 100644 --- a/extensions/tsconfig.base.json +++ b/extensions/tsconfig.base.json @@ -6,6 +6,8 @@ ], "module": "commonjs", "strict": true, + "strictOptionalProperties": false, + "useUnknownInCatchVariables": false, "alwaysStrict": true, "noImplicitAny": true, "noImplicitReturns": true, diff --git a/package.json b/package.json index 86e209c5cac..dcfc10bf9b5 100644 --- a/package.json +++ b/package.json @@ -189,7 +189,7 @@ "style-loader": "^1.0.0", "ts-loader": "^6.2.1", "tsec": "0.1.4", - "typescript": "^4.4.0-dev.20210528", + "typescript": "^4.4.0-dev.20210607", "typescript-formatter": "7.1.0", "underscore": "^1.12.1", "vinyl": "^2.0.0", diff --git a/src/tsconfig.base.json b/src/tsconfig.base.json index 40ad020aab7..8a90d2737e0 100644 --- a/src/tsconfig.base.json +++ b/src/tsconfig.base.json @@ -8,6 +8,8 @@ "noUnusedLocals": true, "allowUnreachableCode": false, "strict": true, + "strictOptionalProperties": false, + "useUnknownInCatchVariables": false, "forceConsistentCasingInFileNames": true, "baseUrl": ".", "paths": { diff --git a/yarn.lock b/yarn.lock index 2d5cec7e66e..ffa8c1fac3c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9540,10 +9540,10 @@ typescript@^2.6.2: resolved "https://registry.yarnpkg.com/typescript/-/typescript-2.6.2.tgz#3c5b6fd7f6de0914269027f03c0946758f7673a4" integrity sha1-PFtv1/beCRQmkCfwPAlGdY92c6Q= -typescript@^4.4.0-dev.20210528: - version "4.4.0-dev.20210528" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.4.0-dev.20210528.tgz#42453bc42e9d9df8ad0741c207c24d56407c0347" - integrity sha512-ACV+mYKC+PhWUXIDUL6qmFClIdrKc20KRxDePt8bniCgkKQD4XRYKl7m02paxJM3nTMRdlfjs0ncaslA5BA1GA== +typescript@^4.4.0-dev.20210607: + version "4.4.0-dev.20210607" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.4.0-dev.20210607.tgz#ea802e420785ef3b6b9c2e12d1ff4b8d2e52ee19" + integrity sha512-tKAp1IL4APSdxD7xHLDU6tIDOEN8yJOTUGG+cSdLunmysl3yOkGrdUbByDaFDmGjKywghGhQvcG8gOqbLUcDcg== typical@^4.0.0: version "4.0.0"