Resolve a couple tslint warnings.
This commit is contained in:
@@ -19,7 +19,7 @@ class SwitchLayerAction extends KeyAction {
|
||||
|
||||
_fromJsObject(jsObject: any): SwitchLayerAction {
|
||||
this.assertKeyActionType(jsObject, KeyActionType.SwitchLayerAction, 'SwitchLayerAction');
|
||||
this.layer = Layer[<string>jsObject.layer];
|
||||
this.layer = Layer[<string> jsObject.layer];
|
||||
this.isLayerToggleable = jsObject.toggle;
|
||||
return this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user