We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b6624e commit ebded5bCopy full SHA for ebded5b
1 file changed
src/geojson.js
@@ -8,7 +8,7 @@ module.exports.multipolygon = justType("MultiPolygon", "POLYGON");
8
* Generate a function that returns an object with the geometries, properties, and type of the given GeoJSON type
9
* @param {string} type the GeoJSON type
10
* @param {string} TYPE the Shapefile type
11
- * @returns {(gj: Object.<string, Feature[]>) => { geometries: number[] | number[][] | number[][][] | number[][][][], properties: {Object.<string, string>}, type: string }}
+ * @returns {(gj: { features: Feature[] }) => { geometries: number[] | number[][] | number[][][] | number[][][][], properties: {Object.<string, string>}, type: string }}
12
*/
13
function justType(gjType, shpType) {
14
return function (gj) {
0 commit comments