chore: lint using putout

This commit is contained in:
coderaiser
2020-06-01 00:04:17 +03:00
parent 4e6151d011
commit f63f1f7b95
16 changed files with 50 additions and 31 deletions
+3 -1
View File
@@ -104,7 +104,9 @@ export class MockOptionsService implements IOptionsService {
public onOptionChange: IEvent<string> = new EventEmitter<string>().event;
constructor(testOptions?: IPartialTerminalOptions) {
if (testOptions) {
Object.keys(testOptions).forEach(key => this.options[key] = (<any>testOptions)[key]);
for (const key of Object.keys(testOptions)) {
this.options[key] = (<any>testOptions)[key];
}
}
}
public setOption<T>(key: string, value: T): void {