ant-design/custom-typings.d.ts
2016-08-22 17:26:14 +08:00

256 lines
5.0 KiB
TypeScript

declare module 'classnames' {
export default function({}): string;
}
declare module 'react-addons-pure-render-mixin' {
const exports: any;
export default exports;
}
declare module 'gregorian-calendar-format' {
export default function(format: string, localeFormat: Object): 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;
}
declare module "object.omit" {
export default function(target: any, ...sources: any[]): any;
}
declare module 'rc-animate' {
export default function(): any;
}
declare module 'rc-util/lib/Dom/addEventListener' {
export default function(domNode: any, event: string, handler: Function): any;
}
declare module 'shallowequal' {
export default function(source: any, target: any): boolean;
}
declare module 'warning' {
export default function(condition: boolean, message: string): void;
}
declare module 'css-animation' {
export default function(...any): any;
}
declare module 'rc-select' {
export const Option: any;
export const OptGroup: any;
const exports: any;
export default exports;
}
declare module 'react-slick' {
export default function(): any;
}
declare module 'rc-cascader' {
export default function(): any;
}
declare module 'array-tree-filter' {
export default function(tree: any, filter: any): 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 const Nav: any;
export const toString: any;
export const toEditorState: any;
export const getMentions: any;
const exports: any;
export default exports;
}
declare module 'rc-progress' {
export const Circle: any;
const exports: any;
export default exports;
}
declare module 'rc-menu' {
export const SubMenu: any;
export const Item: any;
export const Divider: any;
export const ItemGroup: any;
export default function(): any;
}
declare module 'rc-tabs' {
export const TabPane: any;
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' {
const exports: any;
export default exports;
}
declare module 'rc-pagination/lib/locale/zh_CN' {
const exports: any;
export default exports;
}
declare module 'rc-notification' {
export function newInstance(config: Object): any;
const exports: any;
export default exports;
}
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 const exports: any;
export default exports;
}
declare module 'rc-switch' {
const exports: any;
export default exports;
}
declare module 'rc-table' {
export default function(): any;
}
declare module 'rc-tree-select' {
export const TreeNode: any;
export const SHOW_ALL: any;
export const SHOW_PARENT: any;
export const SHOW_CHILD: any;
export default function(): any;
}
declare module 'rc-upload' {
export default function(): any;
}
declare module 'rc-collapse' {
export const Panel: any;
const exports: any;
export default exports;
}
declare module 'rc-form/lib/createDOMForm' {
export default function(): any;
}