fix module types

This commit is contained in:
afc163 2016-08-01 14:30:22 +08:00
parent 0fcaeb5280
commit aa10729d1e

184
custom-typings.d.ts vendored
View File

@ -2,10 +2,82 @@ declare module 'classnames' {
export default function({}): string;
}
declare module 'gregorian-calendar-format' {
export default function({}): string;
}
declare module 'gregorian-calendar' {
export default function({}): string;
}
declare module 'gregorian-calendar/lib/locale/en_US' {
export default {};
}
declare module 'gregorian-calendar/lib/locale/zh_CN' {
export default {};
}
declare module 'gregorian-calendar/lib/locale/ru_RU' {
export default {};
}
declare module 'rc-calendar/lib/locale/en_US' {
export default {};
}
declare module 'rc-calendar/lib/locale/zh_CN' {
export default {};
}
declare module 'rc-calendar/lib/locale/ru_RU' {
export default {};
}
declare module 'rc-calendar/lib/FullCalendar' {
export default function(): any;
}
declare module 'rc-calendar/lib/RangeCalendar' {
export default function(): any;
}
declare module 'rc-calendar/lib/Picker' {
export default function(): any;
}
declare module 'rc-calendar/lib/MonthCalendar' {
export default function(): any;
}
declare module 'rc-time-picker/lib/module/Panel' {
export default function(): any;
}
declare module 'rc-time-picker/lib/TimePicker' {
export default function(): any;
}
declare module 'rc-time-picker/lib/locale/en_US' {
export default {};
}
declare module 'rc-time-picker/lib/locale/zh_CN' {
export default {};
}
declare module 'rc-time-picker/lib/locale/ru_RU' {
export default {};
}
declare module 'rc-pagination/lib/locale/en_US' {
export default {};
}
declare module 'rc-pagination/lib/locale/ru_RU' {
export default {};
}
declare module "object-assign" {
export default function(target: any, ...sources: any[]): any;
}
@ -33,3 +105,115 @@ declare module 'warning' {
declare module 'css-animation' {
export default function(...any): any;
}
declare module 'rc-select' {
export default function(): any;
}
declare module 'react-slick' {
export default function(): any;
}
declare module 'rc-cascader' {
export default function(): any;
}
declare module 'array-tree-filter' {
export default function(): any;
}
declare module 'rc-checkbox' {
export default function(): any;
}
declare module 'rc-radio' {
export default function(): any;
}
declare module 'rc-dropdown' {
export default function(): any;
}
declare module 'rc-editor-mention' {
export default function(): any;
}
declare module 'rc-progress' {
export default function(): any;
}
declare module 'rc-menu' {
export default function(): any;
}
declare module 'rc-tabs' {
export default function(): any;
}
declare module 'rc-tree' {
export default function(): any;
}
declare module 'rc-tooltip' {
export default function(): any;
}
declare module 'rc-calendar' {
export default function(): any;
}
declare module 'rc-input-number' {
export default function(): any;
}
declare module 'rc-pagination' {
export default function(): any;
}
declare module 'rc-notification' {
export default function(): any;
}
declare module 'rc-dialog' {
export default function(): any;
}
declare module 'rc-rate' {
export default function(): any;
}
declare module 'rc-queue-anim' {
export default function(): any;
}
declare module 'rc-slider' {
export default function(): any;
}
declare module 'rc-steps' {
export default function(): any;
}
declare module 'rc-switch' {
export default function(): any;
}
declare module 'rc-table' {
export default function(): any;
}
declare module 'rc-tree-select' {
export default function(): any;
}
declare module 'rc-upload' {
export default function(): any;
}
declare module 'rc-collapse' {
export default function(): any;
}
declare module 'rc-form/lib/createDOMForm' {
export default function(): any;
}