Add eslint type assertions rule

Fixes #3359
This commit is contained in:
Daniel Imms
2021-06-04 06:23:12 -07:00
parent fe1d2f6af1
commit f52d631fa4
20 changed files with 63 additions and 62 deletions
+1 -1
View File
@@ -125,7 +125,7 @@ export class MockOptionsService implements IOptionsService {
constructor(testOptions?: IPartialTerminalOptions) {
if (testOptions) {
for (const key of Object.keys(testOptions)) {
this.options[key] = (<any>testOptions)[key];
this.options[key] = (testOptions as any)[key];
}
}
}