Open chaussen opened 1 year ago
"cypress": "^12.17.1", "cypress-map": "^1.21.0",
After my cypress is upgraded to 12.17, tsconfig.json starts to complain about cypress-map.
tsconfig:
"compilerOptions": { "experimentalDecorators": true, "baseUrl": "./", "lib": [ "esnext", "dom" ], "module": "esnext", "resolveJsonModule": true, "allowSyntheticDefaultImports": true, "moduleResolution": "node", "esModuleInterop": true, "outDir": "./dist/out-tsc", "sourceMap": true, "target": "ES2015", "typeRoots": [ "node_modules/@types", "cypress" ], "types": [ "cypress", "node", "cypress-map", "cypress-plugin-api" ] } }
error:
Cannot find type definition file for 'cypress-map'. The file is in the program because: Entry point of type library 'cypress-map' specified in compilerOptions
It does not affect the test run, but it is annoying. Is there a way to fix it?
Thank you very much.
@chaussen is this still happening?
Yes @bahmutov I have already been using Cypress 13 for a whilie and this error never goes away.
After my cypress is upgraded to 12.17, tsconfig.json starts to complain about cypress-map.
tsconfig:
error:
It does not affect the test run, but it is annoying. Is there a way to fix it?
Thank you very much.