Enabled the noUnusedLocals and added @tsignore

This commit is contained in:
Erich Gamma
2017-11-07 13:13:17 +01:00
parent c1bfc05014
commit c536efdfbc
202 changed files with 380 additions and 26 deletions
@@ -13,6 +13,7 @@ import { IEnvironmentService } from 'vs/platform/environment/common/environment'
import product from 'vs/platform/node/product';
declare type OnNodeCachedDataArgs = [{ errorCode: string, path: string, detail?: string }, { path: string, length: number }];
// @ts-ignore unused local
declare const MonacoEnvironment: { onNodeCachedData: OnNodeCachedDataArgs[] };
export class NodeCachedDataCleaner {
+1
View File
@@ -76,6 +76,7 @@ export class CodeApplication {
@ILogService private logService: ILogService,
@IEnvironmentService private environmentService: IEnvironmentService,
@ILifecycleService private lifecycleService: ILifecycleService,
// @ts-ignore unused injected service
@IConfigurationService private configurationService: ConfigurationService,
@IStorageService private storageService: IStorageService,
@IHistoryMainService private historyService: IHistoryMainService
+1
View File
@@ -72,6 +72,7 @@ export class CodeMenu {
@IEnvironmentService private environmentService: IEnvironmentService,
@ITelemetryService private telemetryService: ITelemetryService,
@IHistoryMainService private historyService: IHistoryMainService,
// @ts-ignore unused injected service
@IWorkspacesMainService private workspacesService: IWorkspacesMainService
) {
this.extensionViewlets = [];
+2
View File
@@ -143,6 +143,7 @@ export class WindowsManager implements IWindowsMainService {
@IEnvironmentService private environmentService: IEnvironmentService,
@ILifecycleService private lifecycleService: ILifecycleService,
@IBackupMainService private backupService: IBackupMainService,
// @ts-ignore unused injected service
@ITelemetryService private telemetryService: ITelemetryService,
@IConfigurationService private configurationService: IConfigurationService,
@IHistoryMainService private historyService: IHistoryMainService,
@@ -1672,6 +1673,7 @@ class WorkspacesManager {
constructor(
private workspacesService: IWorkspacesMainService,
// @ts-ignore unused injected service
private lifecycleService: ILifecycleService,
private backupService: IBackupMainService,
private environmentService: IEnvironmentService,