Skip to content

Commit

Permalink
ts fix
Browse files Browse the repository at this point in the history
Signed-off-by: Ihor Dykhta <dikhta.igor@gmail.com>
  • Loading branch information
igorDykhta committed Jul 31, 2022
1 parent c9c2cc9 commit c12594e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/schemas/schema-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

import {console as Console} from 'global/window';

import {Datasets} from 'reducers';
import datasetSchema from './dataset-schema';
import mapStyleSchema from './map-style-schema';
import mapStateSchema from './map-state-schema';
Expand Down Expand Up @@ -210,7 +211,7 @@ export class KeplerGLSchema {

const {visState} = state;

const datasets = Object.values(visState.datasets).map(ds => ({
const datasets = Object.values(visState.datasets as Datasets).map(ds => ({
version: this._version,
data: this._datasetSchema[this._version].save(ds)
}));
Expand Down

0 comments on commit c12594e

Please sign in to comment.