{"id":18488310,"url":"https://github.com/cypress-io/add-cypress-custom-command-in-typescript","last_synced_at":"2025-04-08T20:33:03.559Z","repository":{"id":28086541,"uuid":"116063902","full_name":"cypress-io/add-cypress-custom-command-in-typescript","owner":"cypress-io","description":"Testing how new Cypress commands are added in TypeScript","archived":true,"fork":false,"pushed_at":"2024-02-28T03:41:36.000Z","size":799,"stargazers_count":89,"open_issues_count":19,"forks_count":30,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-05-09T21:30:37.019Z","etag":null,"topics":["cypress","cypress-io","example","typescript"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cypress-io.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2018-01-02T22:31:46.000Z","updated_at":"2024-04-03T01:24:57.000Z","dependencies_parsed_at":"2024-01-15T10:00:47.582Z","dependency_job_id":"744f9928-256a-42ba-85df-bd6fc08a2ab4","html_url":"https://github.com/cypress-io/add-cypress-custom-command-in-typescript","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cypress-io%2Fadd-cypress-custom-command-in-typescript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cypress-io%2Fadd-cypress-custom-command-in-typescript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cypress-io%2Fadd-cypress-custom-command-in-typescript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cypress-io%2Fadd-cypress-custom-command-in-typescript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cypress-io","download_url":"https://codeload.github.com/cypress-io/add-cypress-custom-command-in-typescript/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223343866,"owners_count":17129954,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cypress","cypress-io","example","typescript"],"created_at":"2024-11-06T12:51:32.830Z","updated_at":"2025-04-08T20:33:03.544Z","avatar_url":"https://github.com/cypress-io.png","language":"TypeScript","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/cypress-io/add-cypress-custom-command-in-typescript.svg?branch=master)](https://travis-ci.org/cypress-io/add-cypress-custom-command-in-typescript) [![renovate-app badge][renovate-badge]][renovate-app]\n\nTo add TypeScript support to Cypress\n\n* `npm i -D @bahmutov/add-typescript-to-cypress`\n* add [tsconfig.json](tsconfig.json)\n* start using TypeScript in your [cypress/integration/spec.ts](cypress/integration/spec.ts)\n* you can write [custom Cypress commands](https://on.cypress.io/custom-commands) in TypeScript, see example in [cypress/support/commands.ts](cypress/support/commands.ts) to add custom commands.\n\n## Screenshots\n\n* passing tests that exercise custom commands\n\n![test](images/cy-foo-works.png)\n\n* VSCode IntelliSense correctly shows `cy.foo()` docs\n\n![IntelliSense](images/cy-foo-intellisense.png)\n\n## Problems\n\nIf you hit a problem, please open an issue either in this repo or in [cypress-io/cypress](https://github.com/cypress-io/cypress) with reproducible source code. The best issues are the ones we can \"git clone ...\", install dependencies and run to see the problem. This ensures we can fix it quicker.\n\n## Additional information\n\n- [bahmutov/add-typescript-to-cypress](https://github.com/bahmutov/add-typescript-to-cypress)\n- [Cypress Tooling: TypeScript](https://on.cypress.io/typescript-support)\n\n[renovate-badge]: https://img.shields.io/badge/renovate-app-blue.svg\n[renovate-app]: https://renovateapp.com/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcypress-io%2Fadd-cypress-custom-command-in-typescript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcypress-io%2Fadd-cypress-custom-command-in-typescript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcypress-io%2Fadd-cypress-custom-command-in-typescript/lists"}