From 4ceb2a7bf4a5d0718a2d3832aa16213e2bcbb89b Mon Sep 17 00:00:00 2001 From: "Kamat, Trivikram" <16024985+trivikr@users.noreply.github.com> Date: Wed, 1 May 2024 23:14:16 +0000 Subject: [PATCH] chore: set module to commonjs and moduleResolution to node error TS2835 is thrown --- tsconfig.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tsconfig.json b/tsconfig.json index 23b53a5142d6..ad00e298aab0 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,6 +5,8 @@ "downlevelIteration": true, "incremental": true, "importHelpers": true, + "module": "commonjs", + "moduleResolution": "node", "noEmitHelpers": false, "noFallthroughCasesInSwitch": true, "paths": {