types(CheckboxGroup): toggleAll should allow boolean type (#8133)

This commit is contained in:
neverland
2021-02-11 12:21:57 +08:00
committed by GitHub
parent 58cb5b6d6b
commit 1019463e89

View File

@@ -9,10 +9,12 @@ const [createComponent, bem] = createNamespace('checkbox-group');
export const CHECKBOX_GROUP_KEY = 'vanCheckboxGroup'; export const CHECKBOX_GROUP_KEY = 'vanCheckboxGroup';
export type CheckboxGroupToggleAllOptions = { export type CheckboxGroupToggleAllOptions =
checked?: boolean; | boolean
skipDisabled?: boolean; | {
}; checked?: boolean;
skipDisabled?: boolean;
};
export type CheckboxGroupProvide = CheckerParent & { export type CheckboxGroupProvide = CheckerParent & {
props: { props: {