From a8b2985978a1b47974f256230c8c6336a6e6aece Mon Sep 17 00:00:00 2001 From: Ryan Smith <0ryansmith1994@gmail.com> Date: Mon, 24 Sep 2018 13:03:42 +0100 Subject: [PATCH] feat: Adds ES Module Interop to allow default imports from module exports. BREAKING CHANGE: `import * as foobar from 'foobar'` must be changed to `import foobar from 'foobar'` for modules using `exports = foobar`. --- configs/tsconfig.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configs/tsconfig.json b/configs/tsconfig.json index 717f6d22..e027b0e6 100644 --- a/configs/tsconfig.json +++ b/configs/tsconfig.json @@ -21,7 +21,8 @@ "noImplicitReturns": true, "noFallthroughCasesInSwitch": true, "noUnusedParameters": true, - "noUnusedLocals": false + "noUnusedLocals": false, + "esModuleInterop": true }, "includes": [ "src/**/*"