diff --git a/osmtogeojson/osmtogeojson-tests.ts b/osmtogeojson/osmtogeojson-tests.ts index 3bb83c100..a4debe4c1 100644 --- a/osmtogeojson/osmtogeojson-tests.ts +++ b/osmtogeojson/osmtogeojson-tests.ts @@ -1,9 +1,11 @@ /// +/// import osmtogeojson from 'osmtogeojson'; import {OsmJSON, GeoJSON} from 'osmtogeojson'; +import * as xmldom from 'xmldom'; -let xml: Document = (new DOMParser()).parseFromString("", 'text/xml'); +let xml: Document = (new xmldom.DOMParser()).parseFromString("", 'text/xml'); let geojson: GeoJSON.FeatureCollection = { type: "FeatureCollection", features: [