Skip to content
This repository has been archived by the owner on Dec 5, 2021. It is now read-only.

Commit

Permalink
improve tsconfig.json to deal with "error TS2403: Subsequent variable…
Browse files Browse the repository at this point in the history
… declarations must have the same type."
  • Loading branch information
CAPtheorem committed May 31, 2021
1 parent 30546ba commit 85b2774
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 22 deletions.
1 change: 0 additions & 1 deletion packages/data-transport-layer/tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

{
"extends": "../../tsconfig.build.json",

Expand Down
1 change: 0 additions & 1 deletion packages/hardhat-ovm/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"extends": "../../tsconfig.build.json",

"compilerOptions": {
"skipLibCheck": true,
"rootDir": "./src",
"outDir": "./dist"
},
Expand Down
1 change: 0 additions & 1 deletion packages/omgx/message-relayer-fast/tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"extends": "../../../tsconfig.build.json",

"compilerOptions": {
"skipLibCheck": true,
"rootDir": "./src",
"outDir": "./dist"
},
Expand Down
22 changes: 4 additions & 18 deletions packages/omgx/wallet/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,8 @@
{
"extends": "../../../tsconfig.json",
"compilerOptions": {
"module": "commonjs",
"target": "es2017",
"declaration": true,
"noImplicitAny": false,
"removeComments": true,
"noLib": false,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"esModuleInterop": true,
"sourceMap": true,
"resolveJsonModule": true,
"skipLibCheck": true,
"outDir": "dist",
"lib": [
"es7"
],
"outDir": "./dist"
},
"include": ["./test"],
"files": ["./hardhat.config.ts"]
"include": ["./test"],
"files": ["./hardhat.config.ts"]
}
3 changes: 2 additions & 1 deletion tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"experimentalDecorators": true,
"typeRoots": [
"node_modules/@types"
]
],
"types" : [ "node" ]
},
"exclude": [
"node_modules",
Expand Down

0 comments on commit 85b2774

Please sign in to comment.