Enabling noImplicitAny

This commit is contained in:
József Farkas
2016-06-26 15:12:50 +02:00
parent 948060f9bf
commit ebbe1559fc
8 changed files with 14 additions and 9 deletions

View File

@@ -57,7 +57,8 @@ export class KeymapTabComponent implements OnInit, KeyActionSaver {
}));
}
onChange(event) {
// TODO: change to the correct type when the wrapper has added it.
onChange(event: any) {
this.selectedKeymapIndex = parseInt(event.value, 10);
}

View File

@@ -72,11 +72,13 @@ export class LayerTabComponent implements OnInit, KeyActionSaver {
return keyAction;
}
private toggleChanged(event) {
// TODO: change to the correct type when the wrapper has added it.
private toggleChanged(event: any) {
this.toggle = event.value;
}
private layerChanged(event) {
// TODO: change to the correct type when the wrapper has added it.
private layerChanged(event: any) {
this.layer = +event.value;
}
}

View File

@@ -56,7 +56,8 @@ export class MacroTabComponent implements OnInit, KeyActionSaver {
}));
}
onChange(event) {
// TODO: change to the correct type when the wrapper has added it.
onChange(event: any) {
this.selectedMacroIndex = event.value;
}