Skip to content

Commit 5c47c3c

Browse files
committed
chore: fix Function type
1 parent 2f1d11e commit 5c47c3c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/decoration-management.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ export default class DecorationManagement {
319319
* omitted the Minimap will attempt
320320
* to infer the plugin origin from
321321
* the path of the caller function.
322-
* @param {function} [decorationParams.render] the render routine for custom
322+
* @param {Function} [decorationParams.render] the render routine for custom
323323
* decorations. The function
324324
* receives the decoration and
325325
* the render data for the
@@ -330,7 +330,7 @@ export default class DecorationManagement {
330330
*/
331331
decorateMarker(
332332
marker: Marker,
333-
decorationParams: { class: string, color: string, plugin: string, render: function, scope: string, type: string }
333+
decorationParams: { class: string, color: string, plugin: string, render: Function, scope: string, type: string }
334334
): Decoration {
335335
if (this.destroyed || this.minimap.destroyed || marker == null) {
336336
return

0 commit comments

Comments
 (0)