Allow returning RenderFeature in ol/format/Feature

Resolves #8760
This commit is contained in:
Kevin Schmidt
2018-10-01 08:24:30 -06:00
parent a2c7eb80fd
commit 7056eb8536
3 changed files with 26 additions and 22 deletions
+2 -2
View File
@@ -56,7 +56,7 @@ class DragAndDropEvent extends Event {
/**
* The features parsed from dropped data.
* @type {Array<import("../Feature.js").default>|undefined}
* @type {Array<import("../format/Feature.js").FeatureLike>|undefined}
* @api
*/
this.features = opt_features;
@@ -220,7 +220,7 @@ class DragAndDrop extends Interaction {
* @param {string} text Text.
* @param {import("../format/Feature.js").ReadOptions} options Read options.
* @private
* @return {Array<import("../Feature.js").default>} Features.
* @return {Array<import("../format/Feature.js").FeatureLike>} Features.
*/
tryReadFeatures_(format, text, options) {
try {