refactor(@angular-devkit/build-optimizer): update to use TypeScript 3.8

This commit is contained in:
Charles Lyding 2020-02-27 12:50:33 -05:00 committed by Douglas Parker
parent 2bbe082cf6
commit 0db3a699d4
3 changed files with 2 additions and 7 deletions

View File

@ -12,7 +12,7 @@
"loader-utils": "1.4.0", "loader-utils": "1.4.0",
"source-map": "0.7.3", "source-map": "0.7.3",
"tslib": "1.11.1", "tslib": "1.11.1",
"typescript": "3.6.4", "typescript": "3.8.2",
"webpack-sources": "1.4.3" "webpack-sources": "1.4.3"
} }
} }

View File

@ -594,7 +594,7 @@ function isTslibHelper(
checker: ts.TypeChecker, checker: ts.TypeChecker,
) { ) {
let callExprIdent = callExpr.expression as ts.Identifier; let callExprIdent = callExpr.expression as ts.Identifier | ts.PrivateIdentifier;
if (callExpr.expression.kind !== ts.SyntaxKind.Identifier) { if (callExpr.expression.kind !== ts.SyntaxKind.Identifier) {
if (callExpr.expression.kind === ts.SyntaxKind.PropertyAccessExpression) { if (callExpr.expression.kind === ts.SyntaxKind.PropertyAccessExpression) {

View File

@ -11482,11 +11482,6 @@ typedarray@^0.0.6:
resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c= integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=
typescript@3.6.4:
version "3.6.4"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.6.4.tgz#b18752bb3792bc1a0281335f7f6ebf1bbfc5b91d"
integrity sha512-unoCll1+l+YK4i4F8f22TaNVPRHcD9PA3yCuZ8g5e0qGqlVlJ/8FSateOLLSagn+Yg5+ZwuPkL8LFUc0Jcvksg==
typescript@3.8.2: typescript@3.8.2:
version "3.8.2" version "3.8.2"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.8.2.tgz#91d6868aaead7da74f493c553aeff76c0c0b1d5a" resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.8.2.tgz#91d6868aaead7da74f493c553aeff76c0c0b1d5a"