enable automatic infer of return type

This commit is contained in:
Jacob Overgaard
2023-01-03 08:57:48 +01:00
parent 07401c92cc
commit 7bcb4ab1d8

View File

@@ -36,8 +36,7 @@ export class UmbDashboardPerformanceProfilingElement extends LitElement {
}
private async _getProfilingStatus() {
const {data} = await tryExecuteAndNotify<ProfilingStatus>(this, ProfilingResource.getProfilingStatus());
const { data } = await tryExecuteAndNotify(this, ProfilingResource.getProfilingStatus());
if (data) {
this._profilingStatus = data.enabled;