mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
types(Calendar): add reset method type definition
This commit is contained in:
parent
29b509835f
commit
dac60c8a37
5
types/calendar.d.ts
vendored
Normal file
5
types/calendar.d.ts
vendored
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
import { VanComponent } from './component';
|
||||||
|
|
||||||
|
export class Calendar extends VanComponent {
|
||||||
|
reset(): void;
|
||||||
|
}
|
3
types/index.d.ts
vendored
3
types/index.d.ts
vendored
@ -3,6 +3,7 @@ import Vue from 'vue';
|
|||||||
import { VanComponent } from './component';
|
import { VanComponent } from './component';
|
||||||
import { AddressEdit } from './address-edit';
|
import { AddressEdit } from './address-edit';
|
||||||
import { Area } from './area';
|
import { Area } from './area';
|
||||||
|
import { Calendar } from './calendar';
|
||||||
import { Checkbox } from './checkbox';
|
import { Checkbox } from './checkbox';
|
||||||
import { CheckboxGroup } from './checkbox-group';
|
import { CheckboxGroup } from './checkbox-group';
|
||||||
import { CountDown } from './count-down';
|
import { CountDown } from './count-down';
|
||||||
@ -29,7 +30,6 @@ export function install(vue: typeof Vue): void;
|
|||||||
export class ActionSheet extends VanComponent {}
|
export class ActionSheet extends VanComponent {}
|
||||||
export class AddressList extends VanComponent {}
|
export class AddressList extends VanComponent {}
|
||||||
export class Button extends VanComponent {}
|
export class Button extends VanComponent {}
|
||||||
export class Calendar extends VanComponent {}
|
|
||||||
export class Card extends VanComponent {}
|
export class Card extends VanComponent {}
|
||||||
export class Cell extends VanComponent {}
|
export class Cell extends VanComponent {}
|
||||||
export class CellGroup extends VanComponent {}
|
export class CellGroup extends VanComponent {}
|
||||||
@ -91,6 +91,7 @@ export class TreeSelect extends VanComponent {}
|
|||||||
export {
|
export {
|
||||||
AddressEdit,
|
AddressEdit,
|
||||||
Area,
|
Area,
|
||||||
|
Calendar,
|
||||||
Checkbox,
|
Checkbox,
|
||||||
CheckboxGroup,
|
CheckboxGroup,
|
||||||
CountDown,
|
CountDown,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user