forked from MapComplete/MapComplete
Refactoring: add generics to some featureSources
This commit is contained in:
parent
e038394331
commit
dec4296204
3 changed files with 21 additions and 38 deletions
|
@ -18,7 +18,7 @@ export interface Tiled {
|
|||
/**
|
||||
* A feature source which only contains features for the defined layer
|
||||
*/
|
||||
export interface FeatureSourceForLayer extends FeatureSource {
|
||||
export interface FeatureSourceForLayer<T extends Feature = Feature> extends FeatureSource<T> {
|
||||
readonly layer: FilteredLayer
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue