Skip to content

Commit

Permalink
chore: fix Function type
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Apr 1, 2021
1 parent 2f1d11e commit 5c47c3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/decoration-management.js
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ export default class DecorationManagement {
* omitted the Minimap will attempt
* to infer the plugin origin from
* the path of the caller function.
* @param {function} [decorationParams.render] the render routine for custom
* @param {Function} [decorationParams.render] the render routine for custom
* decorations. The function
* receives the decoration and
* the render data for the
Expand All @@ -330,7 +330,7 @@ export default class DecorationManagement {
*/
decorateMarker(
marker: Marker,
decorationParams: { class: string, color: string, plugin: string, render: function, scope: string, type: string }
decorationParams: { class: string, color: string, plugin: string, render: Function, scope: string, type: string }
): Decoration {
if (this.destroyed || this.minimap.destroyed || marker == null) {
return
Expand Down

0 comments on commit 5c47c3c

Please sign in to comment.