ContextPadProvider d.ts file has wrong type difinition #2203
Labels
bug
Something isn't working
good first issue
Good for newcomers
pr welcome
We rely on a community contribution to improve this.
spring cleaning
Could be cleaned up one day
I installed bpmn-js via npm and wrote custom ContexPad. I extended my class by
bpmn-js/lib/features/context-pad/ContextPadProvider
and used constructor. ts said that there are 12 constructor's props (screenshot 1). But when i've tried to use the system - i've got an error. I did a research and found out that ContextPadProvider in ContextPadProvider.js file has extra prop (there are 13 constructor props in source js file - screenshot 2).The text was updated successfully, but these errors were encountered: