From 7fe01aac3de2664c2350f59e7950ccb2c44160af Mon Sep 17 00:00:00 2001 From: Nico Jansen Date: Tue, 7 May 2019 09:06:11 +0200 Subject: [PATCH] fix(tslib): remove implicit dependency on tslib (#8) Until now, typed-inject implicitly depended on tslib. Not depending on tslib yourself could result in this error: ``` internal/modules/cjs/loader.js:584 throw err; ^ Error: Cannot find module 'tslib' at Function.Module._resolveFilename (internal/module ``` This fix will remove this implicit dependency by setting `importHelpers` to `false` in `tsconfig` --- tsconfig.settings.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tsconfig.settings.json b/tsconfig.settings.json index 76a05ea..da6a55e 100644 --- a/tsconfig.settings.json +++ b/tsconfig.settings.json @@ -11,7 +11,7 @@ "declaration": true, "forceConsistentCasingInFileNames": true, "allowJs": false, - "importHelpers": true, + "importHelpers": false, "noUnusedLocals": true, "noImplicitReturns": true, "noFallthroughCasesInSwitch": true,