Skip to content

Commit

Permalink
Fix erraneous type
Browse files Browse the repository at this point in the history
  • Loading branch information
joshdover committed Apr 3, 2019
1 parent 85a8093 commit 7f0550c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/legacy/ui/public/vis/update_status.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function getUpdateStatus<T extends Status>(
obj: any,
param: { vis: Vis; visData: any; uiState: PersistedState }
): { [reqStats in T]: boolean } {
const status = {} as { [reqStats in Status]: boolean };
const status = {} as { [reqStats in T]: boolean };

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

0 comments on commit 7f0550c

Please sign in to comment.