Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove obsolete TypeScript standalone example pre Cypress 4.4.0 #5265

Merged
merged 1 commit into from
May 22, 2023
Merged

remove obsolete TypeScript standalone example pre Cypress 4.4.0 #5265

merged 1 commit into from
May 22, 2023

Conversation

MikeMcC399
Copy link
Contributor

This PR removes the reference and link to the obsolete TypeScript "find the standalone example" in Tooling > TypeScript > Examples using Cypress 3.8.3 before native TypeScript support was released with Cypress 4.4.0.

As stated on the Cypress documentation page Tooling > TypeScript > History:

4.4.0 Added support for TypeScript without needing your own transpilation through preprocessors.


https://github.com/cypress-io/add-cypress-custom-command-in-typescript uses the npm module @bahmutov/add-typescript-to-cypress which contains the outdated statement in its README > Why?:

"Cypress is awesome, but does not come with TypeScript support right out of the box. Instead you need to install either Cypress webpack preprocessor or Cypress browserify preprocessor and configure them to transpile TypeScript spec files."


Suggestions

The presence of this example is causing confusion. See cypress-io/add-cypress-custom-command-in-typescript#124.

@netlify
Copy link

netlify bot commented May 22, 2023

👷 Deploy request for cypress-docs pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 78f130a

@cypress-app-bot
Copy link
Collaborator

@MikeMcC399 MikeMcC399 marked this pull request as ready for review May 22, 2023 13:39
@nagash77 nagash77 merged commit ce30ddd into cypress-io:main May 22, 2023
@MikeMcC399 MikeMcC399 deleted the typescript-obsolete-example branch May 22, 2023 14:27
@MikeMcC399
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants