From 81409548cd34d8d90b91c0857305cf1b90d7146d Mon Sep 17 00:00:00 2001 From: Ryan Delaney Date: Fri, 26 Jun 2020 21:45:24 +0000 Subject: [PATCH 1/2] Update TypeScript dependency to 3.9 Fixes #1155 --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 8ed469a3b..c3a0ea9c7 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "source-map-support": "^0.5.6", "tslib": "1.11", "tslint": "5.11.0", - "typescript": "3.8.2" + "typescript": "3.9" }, "scripts": { "build": "bazel build //:npm_package", diff --git a/yarn.lock b/yarn.lock index bf70fad80..d40543fc5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1208,10 +1208,10 @@ tsutils@^2.27.2: dependencies: tslib "^1.8.1" -typescript@3.8.2: - version "3.8.2" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.8.2.tgz#91d6868aaead7da74f493c553aeff76c0c0b1d5a" - integrity sha512-EgOVgL/4xfVrCMbhYKUQTdF37SQn4Iw73H5BgCrF1Abdun7Kwy/QZsE/ssAy0y4LxBbvua3PIbFsbRczWWnDdQ== +typescript@3.9: + version "3.9.5" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.9.5.tgz#586f0dba300cde8be52dd1ac4f7e1009c1b13f36" + integrity sha512-hSAifV3k+i6lEoCJ2k6R2Z/rp/H3+8sdmcn5NrS3/3kE7+RyZXm9aqvxWqjEXHAd8b0pShatpcdMTvEdvAJltQ== uglify-js@^3.1.4: version "3.6.0" From 17622c0c8c90110b86fa61090892c687becc06e2 Mon Sep 17 00:00:00 2001 From: Ryan Delaney Date: Mon, 29 Jun 2020 16:34:45 +0000 Subject: [PATCH 2/2] Update test goldens --- test_files/cast_extends/cast_extends.js | 4 ++-- test_files/mixin/dtsdiagnostics.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test_files/cast_extends/cast_extends.js b/test_files/cast_extends/cast_extends.js index 0794200d6..630b01148 100644 --- a/test_files/cast_extends/cast_extends.js +++ b/test_files/cast_extends/cast_extends.js @@ -1,5 +1,5 @@ -// test_files/cast_extends/cast_extends.ts(16,1): warning TS0: unhandled type flags: IncludesNonWideningType -// test_files/cast_extends/cast_extends.ts(22,10): warning TS0: unhandled type flags: IncludesNonWideningType +// test_files/cast_extends/cast_extends.ts(16,1): warning TS0: unhandled type flags: Intersection +// test_files/cast_extends/cast_extends.ts(22,10): warning TS0: unhandled type flags: Intersection /** * * @fileoverview Reproduces an issue where tsickle would emit a cast for the "extends" claus, and diff --git a/test_files/mixin/dtsdiagnostics.txt b/test_files/mixin/dtsdiagnostics.txt index de024ace4..e1941fb7d 100644 --- a/test_files/mixin/dtsdiagnostics.txt +++ b/test_files/mixin/dtsdiagnostics.txt @@ -1,2 +1,2 @@ -test_files/mixin/mixin.d.ts(1,1): warning TS0: unhandled type flags: IncludesNonWideningType +test_files/mixin/mixin.d.ts(1,1): warning TS0: unhandled type flags: Intersection test_files/mixin/mixin.d.ts(12,31): warning TS0: dropped extends of non-symbol supertype: MyMixin(HTMLElement)