types(Checkbox): add toggle method type (#5354)

This commit is contained in:
neverland
2019-12-22 13:03:25 +08:00
committed by GitHub
parent 24def10a1e
commit 216ca56e63
5 changed files with 21 additions and 8 deletions

5
types/checkbox-group.d.ts vendored Normal file
View File

@@ -0,0 +1,5 @@
import { VanComponent } from './component';
export class CheckboxGroup extends VanComponent {
toggleAll(checked?: boolean): void;
}