Skip to content

Commit fb71a13

Browse files
committed
Fix union type
1 parent 7c25872 commit fb71a13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

typings/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ interface RenderResult {
3333
) => HTMLElement | null
3434
getByLabelText: (
3535
id: TextMatch,
36-
options?: {selector: string; TextMatchOptions},
36+
options?: {selector?: string} & TextMatchOptions,
3737
) => HTMLElement
3838
queryByAltText: (
3939
text: TextMatch,

0 commit comments

Comments
 (0)