From 9acc7c2e35c9a79a2f02b5ce936ce551c4a8ea1f Mon Sep 17 00:00:00 2001 From: Harm van der Werf Date: Fri, 29 Jun 2018 11:41:58 +0200 Subject: [PATCH] Added "noUnusedLocals" and "noUnusedParameters" to the TSConfig file and fixed a mistake --- lib/typescript/broadcast.ts | 1 - tsconfig.json | 28 +++++++++++++++------------- 2 files changed, 15 insertions(+), 14 deletions(-) diff --git a/lib/typescript/broadcast.ts b/lib/typescript/broadcast.ts index 241ff57..c7e8efe 100644 --- a/lib/typescript/broadcast.ts +++ b/lib/typescript/broadcast.ts @@ -1,6 +1,5 @@ import { RequestCallback } from 'request'; import { RequestPromise } from 'request-promise'; -import { Groups } from './deal_property_group'; declare class Broadcast { get(opts?: {}): RequestPromise; diff --git a/tsconfig.json b/tsconfig.json index 99f58ed..57eb67f 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,18 +1,20 @@ { "compilerOptions": { - "module": "commonjs", - "lib": [ - "es6" - ], - "baseUrl": "./", - "noEmit": true, - "typeRoots": [ - "./" - ], - "types": [] + "module": "commonjs", + "lib": [ + "es6" + ], + "baseUrl": "./", + "noEmit": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "typeRoots": [ + "./" + ], + "types": [] }, "files": [ - "index.d.ts", - "test/typescript/hubspot.ts" + "index.d.ts", + "test/typescript/hubspot.ts" ] -} +} \ No newline at end of file