From 37eadc3aedd0fa18cd80e54c7b68ef549e215d6e Mon Sep 17 00:00:00 2001 From: J4CKVVH173 <33596000+J4CKVVH173@users.noreply.github.com> Date: Tue, 23 Jul 2024 12:17:33 +0300 Subject: [PATCH] docs(context-pad): correct argument type (#2204) --- lib/features/context-pad/ContextPadProvider.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/features/context-pad/ContextPadProvider.js b/lib/features/context-pad/ContextPadProvider.js index 3fae39750..7ff28f208 100644 --- a/lib/features/context-pad/ContextPadProvider.js +++ b/lib/features/context-pad/ContextPadProvider.js @@ -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 @@ -67,6 +68,7 @@ import { * @param {Canvas} canvas * @param {Rules} rules * @param {Translate} translate + * @param {AppendPreview} appendPreview */ export default function ContextPadProvider( config, injector, eventBus, @@ -581,4 +583,4 @@ function isEventType(businessObject, type, eventDefinitionType) { }); return isType && isDefinition; -} \ No newline at end of file +}