Fix erraneous type

This commit is contained in:
Josh Dover 2019-04-03 12:49:13 -05:00
parent 85a8093015
commit 7f0550c0ae

View file

@ -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) {