Skip to content

Commit 791f9c5

Browse files
authored
Fix ToggleProps validate function type (#7347)
1 parent 3f67667 commit 791f9c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@react-types/checkbox/src/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export interface ToggleStateOptions extends InputBase {
4545
onChange?: (isSelected: boolean) => void
4646
}
4747

48-
export interface ToggleProps extends ToggleStateOptions, Validation, FocusableProps {
48+
export interface ToggleProps extends ToggleStateOptions, Validation<boolean>, FocusableProps {
4949
/**
5050
* The label for the element.
5151
*/

0 commit comments

Comments
 (0)