Skip to content

Commit cbf4f7f

Browse files
committed
chore: remove double return type
because of the commented code
1 parent 1ec1790 commit cbf4f7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mixins/canvas-drawer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1107,7 +1107,7 @@ function drawBackDecorationsForLines(firstRow: number, lastRow: number, offsetRo
11071107
* @param {number} textOpacity
11081108
* @return {string} a CSS color
11091109
*/
1110-
function getDefaultColor(editorElement: TextEditorElement, textOpacity: number): Number: string {
1110+
function getDefaultColor(editorElement: TextEditorElement, textOpacity: number): string {
11111111
const color = domStylesReader.retrieveStyleFromDom([".editor"], "color", editorElement, true)
11121112
return transparentize(color, textOpacity)
11131113
}

0 commit comments

Comments
 (0)