Remove unnecessary 'function' in jsdoc blocks

This commit is contained in:
Frederic Junod
2018-09-05 16:40:45 +02:00
parent a5f5c06af3
commit 71328530fe
6 changed files with 1 additions and 12 deletions

View File

@@ -158,10 +158,8 @@ class Geometry extends BaseObject {
* https://en.wikipedia.org/wiki/Ramer-Douglas-Peucker_algorithm
* Douglas Peucker} algorithm. For polygons, a quantization-based
* simplification is used to preserve topology.
* @function
* @param {number} tolerance The tolerance distance for simplification.
* @return {import("./Geometry.js").default} A new, simplified version of the original
* geometry.
* @return {import("./Geometry.js").default} A new, simplified version of the original geometry.
* @api
*/
simplify(tolerance) {