Skip to content

Commit

Permalink
Update JSDocs
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisCarriere authored Aug 14, 2017
1 parent e674427 commit 405f47f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/turf-transform-scale/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ module.exports = function (geojson, factor, origin, mutate) {
* Scale Feature/Geometry
*
* @private
* @param {GeoJSON} geojson GeoJSON Feature/Geometry
* @param {Feature|Geometry} geojson GeoJSON Feature/Geometry
* @param {number} factor of scaling, positive or negative values greater than 0
* @param {string|Geometry|Feature<Point>|Array<number>} [origin="centroid"] Point from which the scaling will occur (string options: sw/se/nw/ne/center/centroid)
* @returns {GeoJSON} scaled GeoJSON object
* @returns {Feature|Geometry} scaled GeoJSON Feature/Geometry
*/
function scale(geojson, factor, origin) {
// Default params
Expand Down

0 comments on commit 405f47f

Please sign in to comment.