mirror of
https://github.com/wahyd4/ant-design.git
synced 2026-08-09 04:46:52 +10:00
fix: hack to fix ts compile errors
This commit is contained in:
@@ -15,8 +15,7 @@ export interface PickerProps {
|
||||
prefixCls: string;
|
||||
}
|
||||
|
||||
export default function createPicker(TheCalendar) {
|
||||
// use class typescript error
|
||||
export default function createPicker(TheCalendar): any {
|
||||
return class CalenderWrapper extends React.Component<any, any> {
|
||||
static contextTypes = {
|
||||
antLocale: PropTypes.object,
|
||||
|
||||
Reference in New Issue
Block a user