Skip to content

Commit f5e969f

Browse files
committed
oops
1 parent 0627cf1 commit f5e969f

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

types/role-helpers.d.ts

+11-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,19 @@
1-
export function logRoles(container: HTMLElement): string
1+
export function logRoles(
2+
container: HTMLElement,
3+
options?: LogRolesOptions,
4+
): string
5+
6+
type LogRolesOptions = {
7+
hidden?: boolean
8+
}
9+
210
export function getRoles(container: HTMLElement): {
311
[index: string]: HTMLElement[]
412
}
13+
514
/**
615
* https://testing-library.com/docs/dom-testing-library/api-helpers#isinaccessible
716
*/
817
export function isInaccessible(element: Element): boolean
18+
919
export function computeHeadingLevel(element: Element): number | undefined

0 commit comments

Comments
 (0)