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

More Emphasis on Typescript #6847

Closed
craig-dae opened this issue Mar 25, 2020 · 2 comments · Fixed by #5906
Closed

More Emphasis on Typescript #6847

craig-dae opened this issue Mar 25, 2020 · 2 comments · Fixed by #5906
Labels
type: duplicate This issue or pull request already exists

Comments

@craig-dae
Copy link

craig-dae commented Mar 25, 2020

Suggestion. Lower the barrier of entry to developers that prefer to use TypeScript over Javascript when writing tests.

Current behavior:

Typescript was very difficult to set up. The initial cypress project is created in JS, and it took several hours to properly convert the project to use TypeScript.

Desired behavior:

Create a project in TypeScript, without having to put effort into converting it.

Also come up with some way of writing new Commands without having to update index.d.ts.

Also provide examples on how to break up command.ts into multiple files more easily, since this is not also obvious how to do even for a dev experienced in TypeScript.

Test code to reproduce

N/A

Versions

4.1.0

@CypressJoseph
Copy link
Contributor

#5906 is all about this!

@CypressJoseph CypressJoseph linked a pull request Mar 25, 2020 that will close this issue
4 tasks
@jennifer-shehane
Copy link
Member

Duplicate of #1859

@jennifer-shehane jennifer-shehane marked this as a duplicate of #1859 Mar 26, 2020
@jennifer-shehane jennifer-shehane added the type: duplicate This issue or pull request already exists label Mar 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: duplicate This issue or pull request already exists
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants