From dc613761723bbd67fca43e02f042b04417d507e2 Mon Sep 17 00:00:00 2001 From: Ivo Sonderegger Date: Wed, 16 Sep 2020 14:16:47 +0200 Subject: [PATCH] JSDoc bugfix --- src/meteoJS/modelviewer/Container.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/meteoJS/modelviewer/Container.js b/src/meteoJS/modelviewer/Container.js index f28009bd..2fd1ae8e 100644 --- a/src/meteoJS/modelviewer/Container.js +++ b/src/meteoJS/modelviewer/Container.js @@ -461,14 +461,20 @@ export class Container extends Unique { this._setSelectedVariables(selectedVariables, node); } + /** + * @typedef result_getSelectedVariablesWithResources + * @type {Array} + * @property {undefined|Set} 0 + * @property {undefined|module:meteoJS/modelviewer/variable.Variable} 1 + */ + /** * * * @param {Set} nodes - Nodes to check. * @param {Set} * selectedVariables - Selected Variables from top until this node. - * @returns {[undefined|Set, - * undefined|module:meteoJS/modelviewer/variable.Variable]} + * @returns {result_getSelectedVariablesWithResources} * Array with first element the SelectedVariables, second element the last * selectedVariable (node most down in the tree). * @private