Refactoring types
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
import {Style,Feature} from 'ol';
|
||||
import {Feature} from 'ol';
|
||||
import { Style } from 'ol/style';
|
||||
import {Geometry } from 'ol/geom';
|
||||
|
||||
export interface IStyles{
|
||||
[id: string]: Style | (Feature);
|
||||
[id: string]: Style | (Feature<Geometry>);
|
||||
};
|
Reference in New Issue
Block a user