From 27da4884ed0e5218e6dc84a2079ad21a8922deef Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 5 Jun 2020 10:05:29 +0200 Subject: [PATCH] Use tslib in client --- client/package.json | 4 ++-- client/tsconfig.json | 1 + client/yarn.lock | 5 +++++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/client/package.json b/client/package.json index 474763d35..93c4cef37 100644 --- a/client/package.json +++ b/client/package.json @@ -116,6 +116,7 @@ "stream-browserify": "^3.0.0", "stream-http": "^3.0.0", "terser-webpack-plugin": "^3.0.0", + "tslib": "^2.0.0", "tslint": "^6.1.0", "tslint-angular": "^3.0.2", "tslint-config-standard": "^9.0.0", @@ -137,7 +138,6 @@ "@ngx-i18nsupport/tooling": "^8.0.3", "junk": "^3.1.0", "punycode": "^2.1.1", - "simple-get": "^3.1.0", - "tslib": "^1.10.0" + "simple-get": "^3.1.0" } } diff --git a/client/tsconfig.json b/client/tsconfig.json index ce83a4f11..752f5b35f 100644 --- a/client/tsconfig.json +++ b/client/tsconfig.json @@ -13,6 +13,7 @@ "noImplicitThis": true, "suppressImplicitAnyIndexErrors":true, "alwaysStrict": true, + "importHelpers": true, "strictBindCallApply": true, "target": "es2015", "typeRoots": [ diff --git a/client/yarn.lock b/client/yarn.lock index 170d21c63..dba4c91b9 100644 --- a/client/yarn.lock +++ b/client/yarn.lock @@ -11184,6 +11184,11 @@ tslib@^1.10.0, tslib@^1.7.1, tslib@^1.8.1, tslib@^1.9.0: resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.11.2.tgz#9c79d83272c9a7aaf166f73915c9667ecdde3cc9" integrity sha512-tTSkux6IGPnUGUd1XAZHcpu85MOkIl5zX49pO+jfsie3eP0B6pyhOlLXm3cAC6T7s+euSDDUUV+Acop5WmtkVg== +tslib@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.0.0.tgz#18d13fc2dce04051e20f074cc8387fd8089ce4f3" + integrity sha512-lTqkx847PI7xEDYJntxZH89L2/aXInsyF2luSafe/+0fHOMjlBNXdH6th7f70qxLDhul7KZK0zC8V5ZIyHl0/g== + tslint-angular@^3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/tslint-angular/-/tslint-angular-3.0.2.tgz#6f7480cc34f26fcc03df18d7ec3d5ce364b65064" -- 2.25.1