Skip to content

Commit 0bdb731

Browse files
committed
Fix type lint
1 parent fccaad2 commit 0bdb731

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cli/types/cypress.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -2667,7 +2667,7 @@ declare namespace Cypress {
26672667
*/
26682668
interface AsOptions {
26692669
/**
2670-
* The type of alias to store, which impacts how the value is retrieved later in the test.
2670+
* The type of alias to store, which impacts how the value is retrieved later in the test.
26712671
* If an alias should be a 'query' (re-runs all queries leading up to the resulting value so it's alway up-to-date) or a
26722672
* 'static' (read once when the alias is saved and is never updated). `type` has no effect when aliasing intercepts, spies, and stubs.
26732673
*

cli/types/tests/cypress-tests.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ cy.stub().withArgs('').log(false).as('foo')
546546

547547
cy.spy().withArgs('').log(false).as('foo')
548548

549-
cy.get('something').as('foo', {type: 'value'})
549+
cy.get('something').as('foo', {type: 'static'})
550550

551551
cy.wrap('foo').then(subject => {
552552
subject // $ExpectType string

0 commit comments

Comments
 (0)