From b4fbab743802f84689e039347f6c37e93e2a2867 Mon Sep 17 00:00:00 2001 From: Bogdan Fazakas Date: Tue, 10 Jan 2023 18:32:39 +0200 Subject: [PATCH] update ts config --- package.json | 1 + tsconfig.json | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 3a92f53..faddf80 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,7 @@ "version": "0.1.0", "author": "Ocean Protocol ", "license": "Apache-2.0", + "type": "module", "scripts": { "lint": "eslint --ignore-path .gitignore --ext .js --ext .ts --ext .tsx . && npm run type-check", "clean": "rm -rf ./dist", diff --git a/tsconfig.json b/tsconfig.json index ed7617d..01bf528 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -4,10 +4,9 @@ "lib": ["dom", "dom.iterable", "esnext"], "strict": true, "noEmit": true, - "module": "commonjs", + "module": "esnext", "moduleResolution": "node", - "isolatedModules": true, - "allowSyntheticDefaultImports": true + "isolatedModules": true }, "exclude": ["node_modules"], "include": ["**/*.ts", "**/*.tsx"]