Remove suppressImplicitAnyIndexErrors from tasks

Part of #76442
This commit is contained in:
Alex Ross
2019-07-02 10:18:13 +02:00
parent 44a0062a90
commit 9348711b41
@@ -786,7 +786,7 @@ export abstract class AbstractTaskService extends Disposable implements ITaskSer
};
let identifier: TaskConfig.TaskIdentifier = Objects.assign(Object.create(null), task.defines);
delete identifier['_key'];
Object.keys(identifier).forEach(key => toCustomize![key] = identifier[key]);
Object.keys(identifier).forEach(key => (<any>toCustomize)![key] = identifier[key]);
if (task.configurationProperties.problemMatchers && task.configurationProperties.problemMatchers.length > 0 && Types.isStringArray(task.configurationProperties.problemMatchers)) {
toCustomize.problemMatcher = task.configurationProperties.problemMatchers;
}
@@ -796,9 +796,9 @@ export abstract class AbstractTaskService extends Disposable implements ITaskSer
}
if (properties) {
for (let property of Object.getOwnPropertyNames(properties)) {
let value = properties[property];
let value = (<any>properties)[property];
if (value !== undefined && value !== null) {
toCustomize[property] = value;
(<any>toCustomize)[property] = value;
}
}
} else {