Fix some unhandled promise lint errors (#16924)

This commit is contained in:
Charles Gagnon
2021-08-30 09:08:28 -07:00
committed by GitHub
parent fde114bb14
commit 7804c87c87
14 changed files with 48 additions and 48 deletions

View File

@@ -441,7 +441,7 @@ class TestComponentBuilder<T extends azdata.Component, TPropertyBag> implements
return this._component;
}
withProperties<U>(properties: U): azdata.ComponentBuilder<T, TPropertyBag> {
this._component.updateProperties(properties);
void this._component.updateProperties(properties);
return this;
}
withValidation(validation: (component: T) => boolean): azdata.ComponentBuilder<T, TPropertyBag> {
@@ -449,7 +449,7 @@ class TestComponentBuilder<T extends azdata.Component, TPropertyBag> implements
}
withProps(properties: TPropertyBag): azdata.ComponentBuilder<T, TPropertyBag> {
this._component.updateProperties(properties);
void this._component.updateProperties(properties);
return this;
}
}