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

Add TypeScript for custom commands #34

Open
bahmutov opened this issue Jul 2, 2020 · 2 comments
Open

Add TypeScript for custom commands #34

bahmutov opened this issue Jul 2, 2020 · 2 comments

Comments

@bahmutov
Copy link
Owner

bahmutov commented Jul 2, 2020

No description provided.

@CypressCecelia
Copy link

I used these types in the RWA and they worked

/** Toast command from cypress-movie  */
   toast(message: string, options?: {}): Chainable<void>;
/**clearViewport command from cypress-movie */
    clearViewport(): Chainable<void>;

@CypressCecelia
Copy link

What would be a good way to include these? Is it something where we document the types or do we create an index.d.ts file that people can use or delete?

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

No branches or pull requests

2 participants