Skip to content

Commit

Permalink
docs(context-pad): correct argument type (#2204)
Browse files Browse the repository at this point in the history
  • Loading branch information
J4CKVVH173 authored Jul 23, 2024
1 parent 9fa743f commit 37eadc3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/features/context-pad/ContextPadProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ import {
* @typedef {import('diagram-js/lib/features/context-pad/ContextPad').default} ContextPad
* @typedef {import('../modeling/Modeling').default} Modeling
* @typedef {import('../modeling/ElementFactory').default} ElementFactory
* @typedef {import('../append-preview/AppendPreview').default} AppendPreview
* @typedef {import('diagram-js/lib/features/connect/Connect').default} Connect
* @typedef {import('diagram-js/lib/features/create/Create').default} Create
* @typedef {import('diagram-js/lib/features/popup-menu/PopupMenu').default} PopupMenu
Expand Down Expand Up @@ -67,6 +68,7 @@ import {
* @param {Canvas} canvas
* @param {Rules} rules
* @param {Translate} translate
* @param {AppendPreview} appendPreview
*/
export default function ContextPadProvider(
config, injector, eventBus,
Expand Down Expand Up @@ -581,4 +583,4 @@ function isEventType(businessObject, type, eventDefinitionType) {
});

return isType && isDefinition;
}
}

0 comments on commit 37eadc3

Please sign in to comment.