From 0d932f79b8c6e9488d160e96e357767437b5bf1c Mon Sep 17 00:00:00 2001 From: zy410419243 Date: Sat, 9 Mar 2019 18:25:09 +0800 Subject: [PATCH] chore: remove any --- components/calendar/Header.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/calendar/Header.tsx b/components/calendar/Header.tsx index 0d07a9ed7a..c041311823 100644 --- a/components/calendar/Header.tsx +++ b/components/calendar/Header.tsx @@ -147,7 +147,7 @@ export default class Header extends React.Component { type === 'month' ? this.getMonthSelectElement(prefixCls, value.month(), this.getMonthsLocale(value)) : null; - const size = (fullscreen ? 'default' : 'small') as any; + const size = fullscreen ? 'default' : 'small'; const typeSwitch = ( -- GitLab