Remove extra imports in jsdoc
The symbols are already imported (es6 import)
This commit is contained in:
@@ -36,7 +36,7 @@ class Polygon extends SimpleGeometry {
|
||||
* an array of vertices' coordinates where the first coordinate and the last are
|
||||
* equivalent. (For internal use, flat coordinates in combination with
|
||||
* `opt_layout` and `opt_ends` are also accepted.)
|
||||
* @param {import("./GeometryLayout.js").default=} opt_layout Layout.
|
||||
* @param {GeometryLayout=} opt_layout Layout.
|
||||
* @param {Array<number>=} opt_ends Ends (for internal use with flat coordinates).
|
||||
*/
|
||||
constructor(coordinates, opt_layout, opt_ends) {
|
||||
@@ -96,7 +96,7 @@ class Polygon extends SimpleGeometry {
|
||||
|
||||
/**
|
||||
* Append the passed linear ring to this polygon.
|
||||
* @param {import("./LinearRing.js").default} linearRing Linear ring.
|
||||
* @param {LinearRing} linearRing Linear ring.
|
||||
* @api
|
||||
*/
|
||||
appendLinearRing(linearRing) {
|
||||
@@ -203,7 +203,7 @@ class Polygon extends SimpleGeometry {
|
||||
|
||||
/**
|
||||
* Return an interior point of the polygon.
|
||||
* @return {import("./Point.js").default} Interior point as XYM coordinate, where M is the
|
||||
* @return {Point} Interior point as XYM coordinate, where M is the
|
||||
* length of the horizontal intersection that the point belongs to.
|
||||
* @api
|
||||
*/
|
||||
@@ -229,7 +229,7 @@ class Polygon extends SimpleGeometry {
|
||||
* at index `1` and beyond.
|
||||
*
|
||||
* @param {number} index Index.
|
||||
* @return {import("./LinearRing.js").default} Linear ring.
|
||||
* @return {LinearRing} Linear ring.
|
||||
* @api
|
||||
*/
|
||||
getLinearRing(index) {
|
||||
@@ -242,7 +242,7 @@ class Polygon extends SimpleGeometry {
|
||||
|
||||
/**
|
||||
* Return the linear rings of the polygon.
|
||||
* @return {Array<import("./LinearRing.js").default>} Linear rings.
|
||||
* @return {Array<LinearRing>} Linear rings.
|
||||
* @api
|
||||
*/
|
||||
getLinearRings() {
|
||||
@@ -313,7 +313,7 @@ class Polygon extends SimpleGeometry {
|
||||
/**
|
||||
* Set the coordinates of the polygon.
|
||||
* @param {!Array<Array<import("../coordinate.js").Coordinate>>} coordinates Coordinates.
|
||||
* @param {import("./GeometryLayout.js").default=} opt_layout Layout.
|
||||
* @param {GeometryLayout=} opt_layout Layout.
|
||||
* @override
|
||||
* @api
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user