types(DropdownItem): add toggle method type

This commit is contained in:
陈嘉涵
2019-12-22 17:13:10 +08:00
committed by neverland
parent 0438bdbc97
commit 5c1883f77c
3 changed files with 7 additions and 1 deletions

5
types/dropdown-item.d.ts vendored Normal file
View File

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