Remove extra imports in jsdoc
The symbols are already imported (es6 import)
This commit is contained in:
@@ -26,7 +26,7 @@ class MultiLineString extends SimpleGeometry {
|
||||
* @param {Array<Array<import("../coordinate.js").Coordinate>|import("../geom.js").MultiLineString>|Array<number>} coordinates
|
||||
* Coordinates or LineString geometries. (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 Flat coordinate ends for internal use.
|
||||
*/
|
||||
constructor(coordinates, opt_layout, opt_ends) {
|
||||
@@ -76,7 +76,7 @@ class MultiLineString extends SimpleGeometry {
|
||||
|
||||
/**
|
||||
* Append the passed linestring to the multilinestring.
|
||||
* @param {import("./LineString.js").default} lineString LineString.
|
||||
* @param {LineString} lineString LineString.
|
||||
* @api
|
||||
*/
|
||||
appendLineString(lineString) {
|
||||
@@ -171,7 +171,7 @@ class MultiLineString extends SimpleGeometry {
|
||||
/**
|
||||
* Return the linestring at the specified index.
|
||||
* @param {number} index Index.
|
||||
* @return {import("./LineString.js").default} LineString.
|
||||
* @return {LineString} LineString.
|
||||
* @api
|
||||
*/
|
||||
getLineString(index) {
|
||||
@@ -184,14 +184,14 @@ class MultiLineString extends SimpleGeometry {
|
||||
|
||||
/**
|
||||
* Return the linestrings of this multilinestring.
|
||||
* @return {Array<import("./LineString.js").default>} LineStrings.
|
||||
* @return {Array<LineString>} LineStrings.
|
||||
* @api
|
||||
*/
|
||||
getLineStrings() {
|
||||
const flatCoordinates = this.flatCoordinates;
|
||||
const ends = this.ends_;
|
||||
const layout = this.layout;
|
||||
/** @type {Array<import("./LineString.js").default>} */
|
||||
/** @type {Array<LineString>} */
|
||||
const lineStrings = [];
|
||||
let offset = 0;
|
||||
for (let i = 0, ii = ends.length; i < ii; ++i) {
|
||||
@@ -254,7 +254,7 @@ class MultiLineString extends SimpleGeometry {
|
||||
/**
|
||||
* Set the coordinates of the multilinestring.
|
||||
* @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