I have a cypress typescript project. I added following new npm package : "cypress-wait-for-stable-dom": "^0.1.0". When I run "npm run build" command after adding this package, it throws following error in console
"Error: node_modules/@4tw/cypress-drag-drop/index.d.ts(8,6): error TS2300: Duplicate identifier 'Options'.
Error: node_modules/cypress-wait-for-stable-dom/src/index.d.ts(4,6): error TS2300: Duplicate identifier 'Options'.
Error: Process completed with exit code 2".
It looks like 'cypress-wait-for-stable-dom' package has conflict with existing npm package : "@4tw/cypress-drag-drop": "^2.2.5".
Both packages 'index.d.ts' files have type Options = defined which is causing this error
How do I fix this error ?
Can you rename the 'Options' type to 'WaitForStableDOMOptions' in your package to avoid this conflict ?
It conflicts with following Options type in 'cypress-drag-drop' package
I have a cypress typescript project. I added following new npm package : "cypress-wait-for-stable-dom": "^0.1.0". When I run "npm run build" command after adding this package, it throws following error in console "Error: node_modules/@4tw/cypress-drag-drop/index.d.ts(8,6): error TS2300: Duplicate identifier 'Options'. Error: node_modules/cypress-wait-for-stable-dom/src/index.d.ts(4,6): error TS2300: Duplicate identifier 'Options'. Error: Process completed with exit code 2". It looks like 'cypress-wait-for-stable-dom' package has conflict with existing npm package : "@4tw/cypress-drag-drop": "^2.2.5". Both packages 'index.d.ts' files have
type Options =
defined which is causing this error How do I fix this error ? Can you rename the 'Options' type to 'WaitForStableDOMOptions' in your package to avoid this conflict ? It conflicts with following Options type in 'cypress-drag-drop' package