forked from MapComplete/MapComplete
Fix typing and build
This commit is contained in:
parent
336ebc4ea9
commit
5f1a7892c1
6 changed files with 20 additions and 19 deletions
|
@ -22,6 +22,8 @@ import { TiledStaticFeatureSource } from "../FeatureSource/Sources/StaticFeature
|
|||
import { Translation, TypedTranslation } from "../../UI/i18n/Translation"
|
||||
import { Tag } from "../Tags/Tag"
|
||||
import { OsmConnection } from "../Osm/OsmConnection"
|
||||
import {Feature, GeoJSON, LineString} from "geojson";
|
||||
import {OsmTags} from "../../Models/OsmFeature";
|
||||
|
||||
export interface GlobalFilter {
|
||||
filter: FilterState
|
||||
|
@ -320,7 +322,7 @@ export default class MapState extends UserRelatedState {
|
|||
return []
|
||||
}
|
||||
|
||||
const feature = {
|
||||
const feature : Feature<LineString, OsmTags> = {
|
||||
type: "Feature",
|
||||
properties: {
|
||||
id: "location_track",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue