Skip to content

Commit 9a8b641

Browse files
committed
Fix flow types
1 parent 8723759 commit 9a8b641

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

typings/index.flow.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,9 +203,10 @@ interface UnsafeByPropsQueries {
203203
| [];
204204
}
205205

206-
interface ByRoleOptions {
207-
name?: string;
208-
}
206+
type ByRoleOptions = {
207+
...A11yState,
208+
name?: string,
209+
};
209210

210211
interface A11yAPI {
211212
// Label

0 commit comments

Comments
 (0)