Open MikeMcC399 opened 3 months ago
@MikeMcC399 tsd seems the most equivalent for what we're using this for. This is only used in the CLI to test our types there. I would suggest migrating to tsd: https://github.com/tsdjs/tsd
Bumping the dtslint version to latest in the meantime - might as well. https://github.com/cypress-io/cypress/pull/30065
@jennifer-shehane
tsd seems the most equivalent for what we're using this for. This is only used in the CLI to test our types there. I would suggest migrating to tsd: https://github.com/tsdjs/tsd
@jennifer-shehane
Bumping the dtslint version to latest in the meantime - might as well. #30065
The repo https://github.com/microsoft/dtslint doesn't show releases cleanly or contain any changelog.
You'd need to read commits in https://github.com/microsoft/dtslint/commits/master/ to understand what the version update might achieve.
Yah, I didn't quite think it would be resolved. Sounds good.
Current behavior
Executing the following command locally causes multiple errors to be reported:
The errors are similar to:
Desired behavior
should not throw errors.
Test code to reproduce
Cypress Version
Original reported on version
13.13.3
Continues to be reproducible with version13.15.0
Node version
v18.17.1
Operating System
Ubuntu
22.04.4
LTS and Ubuntu24.04.1
LTSDebug Logs
Other
Cypress is configured to use
dtslint@4.0.7
which was published 4 years ago.https://github.com/cypress-io/cypress/blob/6cce2d7dae8f87a1aaa18638bbf032c94d5a9e1b/cli/package.json#L94
This package has been deprecated - see https://www.npmjs.com/package/dtslint and https://github.com/Microsoft/dtslint (showing the repo archived).
It appears not to test with TypeScript
v5
despite the error messages.