From c98e13d803f153e6536bc519de5a097a342f84fe Mon Sep 17 00:00:00 2001 From: Amour1688 Date: Tue, 3 Nov 2020 11:53:59 +0800 Subject: [PATCH] style: optimize date-picker code --- components/date-picker/index.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/components/date-picker/index.ts b/components/date-picker/index.ts index 82121bdd3..a67372aa8 100755 --- a/components/date-picker/index.ts +++ b/components/date-picker/index.ts @@ -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;