Skip to content

Commit

Permalink
Added "noUnusedLocals" and "noUnusedParameters" to the TSConfig file …
Browse files Browse the repository at this point in the history
…and fixed a mistake
  • Loading branch information
harm-less committed Jun 29, 2018
1 parent 9e4357e commit 9acc7c2
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 14 deletions.
1 change: 0 additions & 1 deletion lib/typescript/broadcast.ts
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
28 changes: 15 additions & 13 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -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"
]
}
}

0 comments on commit 9acc7c2

Please sign in to comment.