From b3a87b56fa537bb72484e2a1516d6b290b08e67a Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Mon, 20 Apr 2020 20:14:33 +0100 Subject: [PATCH 1/2] tsc resolveJsonModule Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- tsconfig.json | 1 + 1 file changed, 1 insertion(+) diff --git a/tsconfig.json b/tsconfig.json index d70e0a85f..dc61d7241 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -2,6 +2,7 @@ "compilerOptions": { "experimentalDecorators": true, "emitDecoratorMetadata": true, + "resolveJsonModule": true, "module": "commonjs", "moduleResolution": "node", "target": "es2016", From e00d2b9589bdc70b35b153fe2a9467585bb582cd Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Tue, 21 Apr 2020 10:01:05 +0100 Subject: [PATCH 2/2] Enable esModuleInterop and iterate PR Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- tsconfig.json | 1 + 1 file changed, 1 insertion(+) diff --git a/tsconfig.json b/tsconfig.json index dc61d7241..b87f64073 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,6 +3,7 @@ "experimentalDecorators": true, "emitDecoratorMetadata": true, "resolveJsonModule": true, + "esModuleInterop": true, "module": "commonjs", "moduleResolution": "node", "target": "es2016",