Fix TypeScript errors in ol/format/GML

This commit is contained in:
Kevin Schmidt
2018-10-16 07:20:22 -06:00
parent e37039d85e
commit ee9c9bcefb
2 changed files with 27 additions and 27 deletions

View File

@@ -237,7 +237,7 @@ class GMLBase extends XMLFeature {
* @param {Element} node Node.
* @param {Array<*>} objectStack Object stack.
* @param {boolean} asFeature whether result should be wrapped as a feature.
* @return {Feature} Feature
* @return {Feature|Object} Feature
*/
readFeatureElementInternal(node, objectStack, asFeature) {
let geometryName;
@@ -301,7 +301,7 @@ class GMLBase extends XMLFeature {
/**
* @param {Node} node Node.
* @param {Element} node Node.
* @param {Array<*>} objectStack Object stack.
* @return {Feature} Feature.
*/