I am getting the following error when I import react-bpm.
Could not find a declaration file for module ‘react-bpmn’. ‘c:/Users/hp/Downloads/LightspeedAdmin/LightspeedAdmin/node_modules/react-bpmn/dist/index.js’ implicitly has an ‘any’ type.
Try npm i --save-dev @types/react-bpmn
if it exists or add a new declaration (.d.ts) file containing declare module 'react-bpmn';
ts(7016)
I guess the declaration file does not exist?
Yes it does not exist. I added now.Thank you.
1 Like
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.