optimize d.ts

This commit is contained in:
yiminghe 2016-10-20 20:12:46 +08:00
parent c2d3f16dfb
commit 9178108906

View File

@ -1,248 +1,79 @@
declare module 'classnames' {
export default function({}): string;
}
declare module 'classnames';
declare module 'react-addons-pure-render-mixin' {
const exports: any;
export default exports;
}
declare module 'react-addons-pure-render-mixin';
declare module 'rc-calendar/lib/locale/en_US' {
export default {};
}
declare module 'rc-calendar*';
declare module 'rc-calendar/lib/locale/zh_CN' {
export default {};
}
declare module 'rc-time-picker*';
declare module 'rc-calendar/lib/locale/ru_RU' {
export default {};
}
declare module 'rc-pagination*';
declare module 'rc-calendar/lib/FullCalendar' {
export default function(): any;
}
declare module "object-assign";
declare module 'rc-calendar/lib/RangeCalendar' {
export default function(): any;
}
declare module "omit.js";
declare module 'rc-calendar/lib/Picker' {
export default function(): any;
}
declare module 'rc-animate';
declare module 'rc-calendar/lib/MonthCalendar' {
export default function(): any;
}
declare module 'rc-util*';
declare module 'rc-time-picker/lib/Panel' {
export default function(): any;
}
declare module 'shallowequal';
declare module 'rc-time-picker/lib/TimePicker' {
export default function(): any;
}
declare module 'warning';
declare module 'rc-time-picker/lib/locale/en_US' {
export default {};
}
declare module 'css-animation';
declare module 'rc-time-picker/lib/locale/zh_CN' {
export default {};
}
declare module 'rc-select';
declare module 'rc-time-picker/lib/locale/ru_RU' {
export default {};
}
declare module 'react-slick';
declare module 'rc-pagination/lib/locale/en_US' {
export default {};
}
declare module 'rc-cascader';
declare module 'rc-pagination/lib/locale/ru_RU' {
export default {};
}
declare module 'array-tree-filter';
declare module "object-assign" {
export default function(target: any, ...sources: any[]): any;
}
declare module 'rc-checkbox';
declare module "omit.js" {
export default function(obj: Object, fields: string[]): any;
}
declare module 'rc-radio';
declare module 'rc-animate' {
export default function(): any;
}
declare module 'rc-dropdown';
declare module 'rc-util/lib/Dom/addEventListener' {
export default function(domNode: any, event: string, handler: Function): any;
}
declare module 'rc-editor-mention';
declare module 'shallowequal' {
export default function(source: any, target: any): boolean;
}
declare module 'rc-progress';
declare module 'warning' {
export default function(condition: boolean, message: string): void;
}
declare module 'rc-menu';
declare module 'css-animation' {
export default function(...any): any;
}
declare module 'rc-tabs*';
declare module 'rc-select' {
export const Option: any;
export const OptGroup: any;
const exports: any;
export default exports;
}
declare module 'rc-tree';
declare module 'react-slick' {
export default function(): any;
}
declare module 'rc-tooltip*';
declare module 'rc-cascader' {
export default function(): any;
}
declare module 'rc-calendar';
declare module 'array-tree-filter' {
export default function(tree: any, filter: any): any;
}
declare module 'rc-input-number';
declare module 'rc-checkbox' {
export default function(): any;
}
declare module 'rc-pagination';
declare module 'rc-radio' {
export default function(): any;
}
declare module 'rc-notification';
declare module 'rc-dropdown' {
export default function(): any;
}
declare module 'rc-dialog';
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-rate';
declare module 'rc-progress' {
export const Circle: any;
const exports: any;
export default exports;
}
declare module 'rc-queue-anim';
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-slider';
declare module 'rc-tabs' {
export const TabPane: any;
export default function(): any;
}
declare module 'rc-steps';
declare module 'rc-tabs/lib/ScrollableInkTabBar' {
export default function(): any;
}
declare module 'rc-switch';
declare module 'rc-tabs/lib/TabContent' {
export default function(): any;
}
declare module 'rc-table';
declare module 'rc-tree' {
export const TreeNode: any;
export default function(): any;
}
declare module 'rc-tree-select';
declare module 'rc-tooltip' {
export default function(): any;
}
declare module 'rc-upload';
declare module 'rc-tooltip/lib/placements' {
export const placements: any;
}
declare module 'rc-collapse';
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(Object): any;
}
declare module 'rc-form*';