From e0ef8dab287c21b3350c61174b7016ded9855611 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 5 Jun 2020 10:03:53 +0200 Subject: [PATCH] Use tslib in server --- package.json | 1 + tsconfig.json | 1 + yarn.lock | 5 +++++ 3 files changed, 7 insertions(+) diff --git a/package.json b/package.json index b94c7f7ab..f23462d46 100644 --- a/package.json +++ b/package.json @@ -140,6 +140,7 @@ "socket.io": "^2.2.0", "srt-to-vtt": "^1.1.2", "tsconfig-paths": "^3.9.0", + "tslib": "^2.0.0", "useragent": "^2.3.0", "uuid": "^7.0.1", "validator": "^13.0.0", diff --git a/tsconfig.json b/tsconfig.json index 058da4f78..da09d0d85 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -6,6 +6,7 @@ "sourceMap": false, "experimentalDecorators": true, "emitDecoratorMetadata": true, + "importHelpers": true, "removeComments": true, "outDir": "./dist", "lib": [ diff --git a/yarn.lock b/yarn.lock index 7add25761..633a7d32a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7086,6 +7086,11 @@ tslib@^1.8.1, tslib@^1.9.0: resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.11.1.tgz#eb15d128827fbee2841549e171f45ed338ac7e35" integrity sha512-aZW88SY8kQbU7gpV19lN24LtXh/yD4ZZg6qieAJDDg+YBsJcSmLGK9QpnUjAKVG/xefmvJGd1WUmfpT/g6AJGA== +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== + tsutils@^3.17.1: version "3.17.1" resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-3.17.1.tgz#ed719917f11ca0dee586272b2ac49e015a2dd759" -- 2.25.1