Skip to content

Commit c0fdeab

Browse files
spiffytechbasarat
authored andcommitted
Support TS 2.0 flag noUnusedParameters (#1015)
1 parent 8c8a921 commit c0fdeab

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

dist/main/tsconfig/tsconfig.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ var compilerOptionsValidation = {
4444
noLibCheck: { type: types.boolean },
4545
noResolve: { type: types.boolean },
4646
noUnusedLocals: { type: types.boolean },
47+
noUnusedParameters: { type: types.boolean },
4748
out: { type: types.string },
4849
outFile: { type: types.string },
4950
outDir: { type: types.string },

lib/main/tsconfig/tsconfig.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ interface CompilerOptions {
5757
noLibCheck?: boolean;
5858
noResolve?: boolean;
5959
noUnusedLocals?: boolean;
60+
noUnusedParameters?: boolean;
6061
out?: string; // Deprecated. Use outFile instead
6162
outFile?: string; // new name for out
6263
outDir?: string; // Redirect output structure to this directory
@@ -121,6 +122,7 @@ var compilerOptionsValidation: simpleValidator.ValidationInfo = {
121122
noLibCheck: { type: types.boolean },
122123
noResolve: { type: types.boolean },
123124
noUnusedLocals: { type: types.boolean },
125+
noUnusedParameters: { type: types.boolean },
124126
out: { type: types.string },
125127
outFile: { type: types.string },
126128
outDir: { type: types.string },

0 commit comments

Comments
 (0)