refactor: make checked optional prop
This commit is contained in:
parent
2888c766b7
commit
e089626f81
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ export interface ControlBase {
|
||||||
|
|
||||||
export interface Checkbox extends ControlBase {
|
export interface Checkbox extends ControlBase {
|
||||||
type: "checkbox";
|
type: "checkbox";
|
||||||
checked: boolean;
|
checked?: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface Radio extends Omit<ControlBase, "value"> {
|
export interface Radio extends Omit<ControlBase, "value"> {
|
||||||
|
|
Loading…
Reference in a new issue