Skip to content

Commit e2b18f3

Browse files
authored
Update types/queries.d.ts
1 parent 37c2ceb commit e2b18f3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

types/queries.d.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,9 @@ export interface ByRoleOptions extends MatcherOptions {
8989
*/
9090
pressed?: boolean
9191
/**
92-
* If true only includes elements in the query set that are marked as
93-
* current in the accessibility tree, i.e., `aria-current="true"`
92+
* Filters elements by their `aria-current` state. `true` and `false` match `aria-current="true"` and `aria-current="false"` (as well as a missing `aria-current` attribute) respectively.
9493
*/
95-
current?: boolean
94+
current?: boolean | string
9695
/**
9796
* If true only includes elements in the query set that are marked as
9897
* expanded in the accessibility tree, i.e., `aria-expanded="true"`

0 commit comments

Comments
 (0)