Skip to content

Commit ebded5b

Browse files
committed
Testing alternate gj typing
1 parent 9b6624e commit ebded5b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/geojson.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module.exports.multipolygon = justType("MultiPolygon", "POLYGON");
88
* Generate a function that returns an object with the geometries, properties, and type of the given GeoJSON type
99
* @param {string} type the GeoJSON type
1010
* @param {string} TYPE the Shapefile type
11-
* @returns {(gj: Object.<string, Feature[]>) => { geometries: number[] | number[][] | number[][][] | number[][][][], properties: {Object.<string, string>}, type: string }}
11+
* @returns {(gj: { features: Feature[] }) => { geometries: number[] | number[][] | number[][][] | number[][][][], properties: {Object.<string, string>}, type: string }}
1212
*/
1313
function justType(gjType, shpType) {
1414
return function (gj) {

0 commit comments

Comments
 (0)