Merge pull request #8737 from schmidtk/ts-format-topojson

Flag optional param to fix TS error
This commit is contained in:
Frédéric Junod
2018-09-29 08:18:09 +02:00
committed by GitHub

View File

@@ -139,7 +139,7 @@ class TopoJSON extends JSONFeature {
/**
* @const
* @type {Object<string, function(TopoJSONGeometry, Array, ...Array): import("../geom/Geometry.js").default>}
* @type {Object<string, function(TopoJSONGeometry, Array, ...Array=): import("../geom/Geometry.js").default>}
*/
const GEOMETRY_READERS = {
'Point': readPointGeometry,