Skip to content

Commit

Permalink
fix type linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbreiding committed Aug 3, 2021
1 parent d7ff736 commit 62bb742
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions cli/types/cypress.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ declare namespace Cypress {
* Currently executing test runnable instance.
*/
currentTest: {
title: string,
title: string
titlePath: string[]
}

Expand Down Expand Up @@ -402,9 +402,9 @@ declare namespace Cypress {
* @see https://on.cypress.io/api/commands
*/
Commands: {
add<T extends keyof Cypress.Chainable>(name: T, fn: Cypress.Chainable[T]): void
add<T extends keyof Cypress.Chainable>(name: T, options: CommandOptions, fn: Cypress.Chainable[T]): void
overwrite<T extends keyof Cypress.Chainable>(name: T, fn: Cypress.Chainable[T]): void
add<T extends keyof Chainable>(name: T, fn: Chainable[T]): void
add<T extends keyof Chainable>(name: T, options: CommandOptions, fn: Chainable[T]): void
overwrite<T extends keyof Chainable>(name: T, fn: Chainable[T]): void
}

/**
Expand Down
2 changes: 1 addition & 1 deletion cli/types/tests/cypress-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ namespace CypressIsCyTests {

declare namespace Cypress {
interface Chainable {
newCommand: (arg: string) => void;
newCommand: (arg: string) => void
}
}

Expand Down

0 comments on commit 62bb742

Please sign in to comment.