Skip to content

Commit 930ba15

Browse files
committed
fix: remove excess return null
1 parent 30ad2d6 commit 930ba15

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/minimap.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1118,14 +1118,13 @@ export default class Minimap {
11181118

11191119
/**
11201120
* get the DecorationManagement API for the current minimapElement
1121-
* @return {DecorationManagement | null | undefined}
1121+
* @return {DecorationManagement | undefined}
11221122
*/
11231123
getDecorationManagement() {
11241124
if (!this.DecorationManagement) {
11251125
if (this.minimapElement?.DecorationManagement) {
11261126
this.DecorationManagement = this.minimapElement.DecorationManagement
11271127
}
1128-
return null
11291128
}
11301129
return this.DecorationManagement
11311130
}

0 commit comments

Comments
 (0)