update ts config

This commit is contained in:
Bogdan Fazakas 2023-01-10 18:32:39 +02:00
parent 92432787b8
commit b4fbab7438
2 changed files with 3 additions and 3 deletions

View File

@ -4,6 +4,7 @@
"version": "0.1.0", "version": "0.1.0",
"author": "Ocean Protocol <devops@oceanprotocol.com>", "author": "Ocean Protocol <devops@oceanprotocol.com>",
"license": "Apache-2.0", "license": "Apache-2.0",
"type": "module",
"scripts": { "scripts": {
"lint": "eslint --ignore-path .gitignore --ext .js --ext .ts --ext .tsx . && npm run type-check", "lint": "eslint --ignore-path .gitignore --ext .js --ext .ts --ext .tsx . && npm run type-check",
"clean": "rm -rf ./dist", "clean": "rm -rf ./dist",

View File

@ -4,10 +4,9 @@
"lib": ["dom", "dom.iterable", "esnext"], "lib": ["dom", "dom.iterable", "esnext"],
"strict": true, "strict": true,
"noEmit": true, "noEmit": true,
"module": "commonjs", "module": "esnext",
"moduleResolution": "node", "moduleResolution": "node",
"isolatedModules": true, "isolatedModules": true
"allowSyntheticDefaultImports": true
}, },
"exclude": ["node_modules"], "exclude": ["node_modules"],
"include": ["**/*.ts", "**/*.tsx"] "include": ["**/*.ts", "**/*.tsx"]