Enabling noImplicitAny
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ export class DataProviderService {
|
||||
}
|
||||
|
||||
getSvgModules(): SvgModule[] {
|
||||
let modules = this.getBaseLayer().g[0].g.map(obj => new SvgModule(obj));
|
||||
let modules = this.getBaseLayer().g[0].g.map((obj: any) => new SvgModule(obj));
|
||||
return [modules[1], modules[0]]; // TODO: remove if the svg will be correct
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user