Description
Describe the bug
A clear and concise description of what the bug is.
The types (dist/*.d.ts) aren't packaged with the npm repo which prevents typescript projects from inferring types.
To Reproduce
Steps to reproduce the behavior:
- Create a typescript cypress project
npm install --save-dev @frsource/cypress-plugin-visual-regression-diff
- Begin
@frsource/cypress-plugin-visual-regression-diff
install steps:
import '@frsource/cypress-plugin-visual-regression-diff'; // warning shown here
Could not find a declaration file for module '@frsource/cypress-plugin-visual-regression-diff'. '/Users/.../node_modules/@frsource/cypress-plugin-visual-regression-diff/dist/support.js' implicitly has an 'any' type.
Trynpm i --save-dev @types/frsource__cypress-plugin-visual-regression-diff
if it exists or add a new declaration (.d.ts) file containingdeclare module '@frsource/cypress-plugin-visual-regression-diff';
ts(7016)
Expected behavior
A clear and concise description of what you expected to happen.
Types to be included in npm package since this is a typescript repo. It looks like they previously were based on the package.json.
Screenshots
If applicable, add screenshots to help explain your problem.
Please complete the following information:
- OS and version: [e.g. Windows 10 build. 19043.1319] MacOS 12.4
- Browser and version [e.g. chrome 22] N/A
- Cypress version [e.g. 8.6.0] 10.11.0
- @frsource/cypress-plugin-visual-regression-diff version 3.0.2
Additional context
Add any other context about the problem here.