Skip to content

Commit

Permalink
style: optimize date-picker code
Browse files Browse the repository at this point in the history
  • Loading branch information
Amour1688 committed Nov 3, 2020
1 parent a007b47 commit c98e13d
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions components/date-picker/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;

0 comments on commit c98e13d

Please sign in to comment.