ant-design/typings/custom-typings.d.ts

249 lines
4.8 KiB
TypeScript
Raw Normal View History

2016-08-01 13:30:13 +08:00
declare module 'classnames' {
export default function({}): string;
}
2016-08-08 14:42:29 +08:00
declare module 'react-addons-pure-render-mixin' {
2016-08-10 09:46:56 +08:00
const exports: any;
2016-08-08 14:42:29 +08:00
export default exports;
}
2016-08-01 14:30:22 +08:00
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/Panel' {
2016-08-01 14:30:22 +08:00
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 {};
}
2016-08-01 13:30:13 +08:00
declare module "object-assign" {
export default function(target: any, ...sources: any[]): any;
}
declare module "omit.js" {
export default function(obj: Object, fields: string[]): any;
2016-08-01 13:30:13 +08:00
}
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;
}
2016-08-01 14:30:22 +08:00
declare module 'rc-select' {
2016-08-10 09:46:56 +08:00
export const Option: any;
export const OptGroup: any;
const exports: any;
export default exports;
2016-08-01 14:30:22 +08:00
}
declare module 'react-slick' {
export default function(): any;
}
declare module 'rc-cascader' {
export default function(): any;
}
declare module 'array-tree-filter' {
2016-08-22 17:26:14 +08:00
export default function(tree: any, filter: any): any;
2016-08-01 14:30:22 +08:00
}
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' {
2016-08-22 17:26:14 +08:00
export const Nav: any;
export const toString: any;
export const toEditorState: any;
export const getMentions: any;
const exports: any;
export default exports;
2016-08-01 14:30:22 +08:00
}
declare module 'rc-progress' {
2016-08-22 17:26:14 +08:00
export const Circle: any;
const exports: any;
export default exports;
2016-08-01 14:30:22 +08:00
}
declare module 'rc-menu' {
export const SubMenu: any;
export const Item: any;
2016-08-22 17:26:14 +08:00
export const Divider: any;
export const ItemGroup: any;
2016-08-01 14:30:22 +08:00
export default function(): any;
}
declare module 'rc-tabs' {
2016-08-16 18:07:37 +08:00
export const TabPane: any;
2016-08-01 14:30:22 +08:00
export default function(): any;
}
declare module 'rc-tabs/lib/ScrollableInkTabBar' {
export default function(): any;
}
declare module 'rc-tabs/lib/TabContent' {
export default function(): any;
}
2016-08-01 14:30:22 +08:00
declare module 'rc-tree' {
2016-08-24 16:09:55 +08:00
export const TreeNode: any;
2016-08-01 14:30:22 +08:00
export default function(): any;
}
declare module 'rc-tooltip' {
export default function(): any;
}
2016-08-31 15:00:13 +08:00
declare module 'rc-tooltip/lib/placements' {
export const placements: any;
}
2016-08-01 14:30:22 +08:00
declare module 'rc-calendar' {
export default function(): any;
}
declare module 'rc-input-number' {
export default function(): any;
}
declare module 'rc-pagination' {
2016-08-22 17:26:14 +08:00
const exports: any;
export default exports;
}
declare module 'rc-pagination/lib/locale/zh_CN' {
const exports: any;
export default exports;
2016-08-01 14:30:22 +08:00
}
declare module 'rc-notification' {
2016-08-22 17:26:14 +08:00
export function newInstance(config: Object): any;
const exports: any;
export default exports;
2016-08-01 14:30:22 +08:00
}
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' {
2016-08-10 09:46:56 +08:00
export const exports: any;
export default exports;
2016-08-01 14:30:22 +08:00
}
declare module 'rc-switch' {
2016-08-10 09:46:56 +08:00
const exports: any;
export default exports;
2016-08-01 14:30:22 +08:00
}
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;
2016-08-01 14:30:22 +08:00
export default function(): any;
}
declare module 'rc-upload' {
export default function(): any;
}
declare module 'rc-collapse' {
2016-08-22 17:26:14 +08:00
export const Panel: any;
const exports: any;
export default exports;
2016-08-01 14:30:22 +08:00
}
declare module 'rc-form/lib/createDOMForm' {
2016-08-24 16:09:55 +08:00
export default function(Object): any;
2016-08-01 14:30:22 +08:00
}