Revert "Improve typing"

This reverts commit 4d783aae45.
This commit is contained in:
Pieter Vander Vennet 2022-08-24 02:28:41 +02:00
parent 4d783aae45
commit aac736eba8
4 changed files with 8 additions and 19 deletions

View file

@ -1,9 +1,4 @@
import {Feature, Geometry} from "@turf/turf";
export type RelationId = `relation/${number}`
export type WayId = `way/${number}`
export type NodeId = `node/${number}`
export type OsmId = NodeId | WayId | RelationId
export type OsmTags = Record<string, string> & {id: OsmId}
export type OsmTags = Record<string, string> & {id: string}
export type OsmFeature = Feature<Geometry, OsmTags>