Skip to content

Commit

Permalink
limit tsconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
ponderingdemocritus committed May 19, 2024
1 parent 81f81e0 commit 6b22dfd
Showing 1 changed file with 13 additions and 15 deletions.
28 changes: 13 additions & 15 deletions ui/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@
"compilerOptions": {
"target": "ESNext",
"useDefineForClassFields": true,
"lib": [
"DOM",
"DOM.Iterable",
"ESNext"
],
"lib": ["DOM", "DOM.Iterable", "ESNext"],
"allowJs": false,
"skipLibCheck": true,
"esModuleInterop": true,
Expand All @@ -17,13 +13,11 @@
"moduleResolution": "Node",
"resolveJsonModule": true,
"isolatedModules": true,
"noUnusedLocals": true,
// "noUnusedLocals": true,
// "noUnusedParameters": true,
"noEmit": true,
"jsx": "preserve",
"types": [
"node"
],
"types": ["node"],
"incremental": true,
"plugins": [
{
Expand All @@ -33,13 +27,17 @@
"baseUrl": ".",
"paths": {
"@/*": ["./src/*"],
"starknetkit/injected": ["./node_modules/starknetkit/dist/injectedConnector.d.ts"],
"starknetkit/argentMobile": ["./node_modules/starknetkit/dist/argentMobile.d.ts"],
"starknetkit/webwallet": ["./node_modules/starknetkit/dist/webwalletConnector.d.ts"]
"starknetkit/injected": [
"./node_modules/starknetkit/dist/injectedConnector.d.ts"
],
"starknetkit/argentMobile": [
"./node_modules/starknetkit/dist/argentMobile.d.ts"
],
"starknetkit/webwallet": [
"./node_modules/starknetkit/dist/webwalletConnector.d.ts"
]
}
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"exclude": [
"node_modules"
]
"exclude": ["node_modules"]
}

0 comments on commit 6b22dfd

Please sign in to comment.