diff --git a/server.ts b/server.ts index 23b959292..ddb79ddda 100644 --- a/server.ts +++ b/server.ts @@ -13,7 +13,6 @@ app.use(cors()); app.use(express.static('build')); -// @ts-ignore app.get('*', (req, res) => { res.sendFile(path.join(__dirname, 'build/index.html')) }) diff --git a/tsconfig.json b/tsconfig.json index 1b94f9f57..c98056eed 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -11,7 +11,7 @@ "esModuleInterop": true, "noEmit": true, "noUnusedLocals": true, - "noUnusedParameters": true, + "noUnusedParameters": false, "noImplicitAny": true, "noImplicitReturns": true, "skipLibCheck": true,