Working with bpmn-js-color-picker in Typescript

What is the correct way to import and use bpmn-js-color-picker in a typescript environment?

When importing, an error/warning is displayed:
Cannot find module 'bpmn-js-color-picker' or its corresponding type declarations.

I’m trying to generate type declarations for the bpmn-js-color-picker project from github, but I am not making any progress.

You’d need to stub the types or PR type definitions against the project.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.