You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If Cypress determines that a new project can be scaffolded using TypeScript, it should allow the user to choose between setting up a JavaScript project and setting up a Typescript project.
Why is this needed?
If the npm module typescript is installed, then Cypress automatically scaffolds a new E2E project using TypeScript without asking the user if they would like JavaScript or TypeScript. This is not necessarily what the user would want.
Steps to reproduce
mkdir cy-ts-test
cd cy-ts-test
git init
npm init -y
npm install typescript -D -E
npm install cypress -D -E
npx cypress open --e2e --browser electron
Note the Configuration files screen showing TypeScript files automatically being configured with no choice being given.
This is an enhancement request.
What would you like?
If Cypress determines that a new project can be scaffolded using TypeScript, it should allow the user to choose between setting up a JavaScript project and setting up a Typescript project.
Why is this needed?
If the npm module typescript is installed, then Cypress automatically scaffolds a new E2E project using TypeScript without asking the user if they would like JavaScript or TypeScript. This is not necessarily what the user would want.
Steps to reproduce
mkdir cy-ts-test cd cy-ts-test git init npm init -y npm install typescript -D -E npm install cypress -D -E npx cypress open --e2e --browser electron
Note the Configuration files screen showing TypeScript files automatically being configured with no choice being given.
Related issues
The text was updated successfully, but these errors were encountered: