Use tslib in server
authorChocobozzz <me@florianbigard.com>
Fri, 5 Jun 2020 08:03:53 +0000 (10:03 +0200)
committerChocobozzz <me@florianbigard.com>
Tue, 9 Jun 2020 12:52:55 +0000 (14:52 +0200)
package.json
tsconfig.json
yarn.lock

index b94c7f7abe12b77c9bfeccdeede512606714697e..f23462d46d1930bf9a637453cc74470d655236c9 100644 (file)
     "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",
index 058da4f78d4543cbd3ab86bf306f8de16045a6e5..da09d0d8591d0cc61cc25e5081cfd6dd48f4a1a4 100644 (file)
@@ -6,6 +6,7 @@
     "sourceMap": false,
     "experimentalDecorators": true,
     "emitDecoratorMetadata": true,
+    "importHelpers": true,
     "removeComments": true,
     "outDir": "./dist",
     "lib": [
index 7add2576166d09cf062453f8bd5670693414bdec..633a7d32a209a14abfe915b26494901d875fb9c3 100644 (file)
--- 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"