Skip to content

Commit 7f0550c

Browse files
committed
Fix erraneous type
1 parent 85a8093 commit 7f0550c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/legacy/ui/public/vis/update_status.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ function getUpdateStatus<T extends Status>(
6060
obj: any,
6161
param: { vis: Vis; visData: any; uiState: PersistedState }
6262
): { [reqStats in T]: boolean } {
63-
const status = {} as { [reqStats in Status]: boolean };
63+
const status = {} as { [reqStats in T]: boolean };
6464

6565
// If the vis type doesn't need update status, skip all calculations
6666
if (requiresUpdateStatus.length === 0) {

0 commit comments

Comments
 (0)