tslint: less implicit any use

This commit is contained in:
Benjamin Pasero
2016-12-30 19:28:08 +01:00
parent 7215ec2839
commit f2c47075c8
51 changed files with 74 additions and 105 deletions

View File

@@ -559,7 +559,7 @@ export class EditorGroup implements IEditorGroup {
// It is possible to have the same resource opened twice (once as normal input and once as diff input)
// So we need to do ref counting on the resource to provide the correct picture
let counter = this.mapResourceToEditorCount[resource.toString()] || 0;
let newCounter;
let newCounter: number;
if (remove) {
if (counter > 1) {
newCounter = counter - 1;