@@ -262,19 +262,17 @@ define(function (require, exports, module) {
262262 * 3. If non-null, but visible==false, we're waiting for HOVER_DELAY, which
263263 * is tracked by hoverTimer. The state changes to visible==true as soon as
264264 * there is a provider. If the mouse moves before then, timer is restarted.
265- *
266- * @type {{
267- * visible: boolean,
268- * editor: !Editor,
269- * hoverTimer: number, - setTimeout() token
270- * start: !{line, ch}, - start of matched text range
271- * end: !{line, ch}, - end of matched text range
272- * content: !string, - HTML content to display in popover
273- * xpos: number, - x of center of popover
274- * ytop: number, - y of top of matched text (when popover placed above text, normally)
275- * ybot: number, - y of bottom of matched text (when popover moved below text, avoiding window top)
276- * marker: ?CodeMirror.TextMarker - only set once visible==true
277- * }}
265+ * @typedef {Object } PopoverState
266+ * @property {boolean } visible - Whether the popover is visible.
267+ * @property {!Editor } editor - The editor instance associated with the popover.
268+ * @property {number } hoverTimer - The token returned by setTimeout().
269+ * @property {!{line: number, ch: number} } start - Start of the matched text range.
270+ * @property {!{line: number, ch: number} } end - End of the matched text range.
271+ * @property {!string } content - HTML content to display in the popover.
272+ * @property {number } xpos - X-coordinate of the center of the popover.
273+ * @property {number } ytop - Y-coordinate of the top of the matched text when popover is above the text.
274+ * @property {number } ybot - Y-coordinate of the bottom of the matched text when popover is below the text.
275+ * @property {?CodeMirror.TextMarker } marker - The text marker; only set once `visible` is `true`.
278276 * @private
279277 */
280278 let popoverState = null ;
@@ -413,7 +411,7 @@ define(function (require, exports, module) {
413411 * Returns a popover array with the list of popovers to be rendered after filtering from providers.
414412 * @param results
415413 * @param providerInfos
416- * @return { *[] }
414+ * @return []
417415 * @private
418416 */
419417 function _getPopover ( results , providerInfos ) {
0 commit comments