From 6b22dfdf5daedd6b15d78a48b6636b792e6d4f53 Mon Sep 17 00:00:00 2001 From: ponderingdemocritus Date: Mon, 20 May 2024 09:39:34 +1000 Subject: [PATCH] limit tsconfig --- ui/tsconfig.json | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/ui/tsconfig.json b/ui/tsconfig.json index 33d3e8978..19896c00e 100644 --- a/ui/tsconfig.json +++ b/ui/tsconfig.json @@ -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, @@ -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": [ { @@ -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"] }