Skip to content

Commit 0db3a69

Browse files
clydindgp1130
authored andcommitted
refactor(@angular-devkit/build-optimizer): update to use TypeScript 3.8
1 parent 2bbe082 commit 0db3a69

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

packages/angular_devkit/build_optimizer/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"loader-utils": "1.4.0",
1313
"source-map": "0.7.3",
1414
"tslib": "1.11.1",
15-
"typescript": "3.6.4",
15+
"typescript": "3.8.2",
1616
"webpack-sources": "1.4.3"
1717
}
1818
}

packages/angular_devkit/build_optimizer/src/transforms/scrub-file.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ function isTslibHelper(
594594
checker: ts.TypeChecker,
595595
) {
596596

597-
let callExprIdent = callExpr.expression as ts.Identifier;
597+
let callExprIdent = callExpr.expression as ts.Identifier | ts.PrivateIdentifier;
598598

599599
if (callExpr.expression.kind !== ts.SyntaxKind.Identifier) {
600600
if (callExpr.expression.kind === ts.SyntaxKind.PropertyAccessExpression) {

yarn.lock

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11482,11 +11482,6 @@ typedarray@^0.0.6:
1148211482
resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
1148311483
integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=
1148411484

11485-
11486-
version "3.6.4"
11487-
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.6.4.tgz#b18752bb3792bc1a0281335f7f6ebf1bbfc5b91d"
11488-
integrity sha512-unoCll1+l+YK4i4F8f22TaNVPRHcD9PA3yCuZ8g5e0qGqlVlJ/8FSateOLLSagn+Yg5+ZwuPkL8LFUc0Jcvksg==
11489-
1149011485
1149111486
version "3.8.2"
1149211487
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.8.2.tgz#91d6868aaead7da74f493c553aeff76c0c0b1d5a"

0 commit comments

Comments
 (0)