style: optimize date-picker code

This commit is contained in:
Amour1688 2020-11-03 11:53:59 +08:00
parent a007b4757a
commit c98e13d803

View File

@ -56,9 +56,4 @@ DatePicker.install = function(app: App) {
return app;
};
export default DatePicker as typeof DatePicker &
Plugin & {
readonly RangePicker: typeof RangePicker;
readonly MonthPicker: typeof MonthPicker;
readonly WeekPicker: typeof WeekPicker;
};
export default DatePicker as typeof DatePicker & Plugin;