Block generator warnings (#3353)

This commit is contained in:
Sam El-Husseini
2019-10-28 16:20:25 -07:00
committed by GitHub
parent cbf867f441
commit 72c6aa8699
9 changed files with 17 additions and 18 deletions

View File

@@ -171,7 +171,7 @@ Blockly.JavaScript['text_charAt'] = function(block) {
* @param {string} stringName Name of the string, used to calculate length.
* @param {string} where The method of indexing, selected by dropdown in Blockly
* @param {string=} opt_at The optional offset when indexing from start/end.
* @return {string} Index expression.
* @return {string|undefined} Index expression.
* @private
*/
Blockly.JavaScript.text.getIndex_ = function(stringName, where, opt_at) {