The empty line here is not considered and because of this, the return type of the above-commented function is considered for the bottom function.
/**
* Returns the opacity value to use when rendering the `Minimap` text.
*
* @return {Number} the text opacity value
* Unused (inlined)
*/
// getTextOpacity () { return this.textOpacity }
/**
* Returns the default text color for an editor content.
*
* The color value is directly read from the `TextEditorView` computed styles.
* @param {TextEditorElement} editorElement
* @param {number} textOpacity
* @return {string} a CSS color
*/
function getDefaultColor(editorElement, textOpacity) {
const color = domStylesReader.retrieveStyleFromDom([".editor"], "color", editorElement, true)
return transparentize(color, textOpacity)
}
The empty line here is not considered and because of this, the return type of the above-commented function is considered for the bottom function.