ant-design/typings/custom-typings.d.ts
二货机器人 3080611883
feat: Notification support hooks for context (#21275)
* use promise for getInstance

* passing hooks

* hooks support

* move hooks out of fiel

* adjust style

* update snapshot

* fix test & add test case

* update hooks test

* fix style lint

* update doc

* update demo desc & eslitn rules

* fix lint

* docs add faq

* fix less
2020-02-07 17:55:26 +08:00

64 lines
1.2 KiB
TypeScript

// https://github.com/facebook/create-react-app/blob/f09d3d3a52c1b938cecc977c2bbc0942ea0a7e70/packages/react-scripts/lib/react-app.d.ts#L42-L49
declare module '*.svg' {
import * as React from 'react';
export const ReactComponent: React.FunctionComponent<React.SVGProps<SVGSVGElement>>;
const src: string;
export default src;
}
declare module 'bisheng/router';
declare module 'rc-pagination/*';
declare module 'omit.js';
declare module 'rc-animate*';
declare module 'rc-util*';
declare module 'css-animation*';
declare module 'rc-checkbox';
declare module 'rc-radio';
declare module 'rc-editor-mention';
declare module 'rc-tabs*';
declare module 'rc-tree/lib/util';
declare module 'rc-input-number';
declare module 'rc-collapse';
declare module 'rc-dialog';
declare module 'rc-rate';
declare module 'rc-queue-anim';
declare module 'rc-slider';
declare module 'rc-slider/lib/Slider';
declare module 'rc-slider/lib/Range';
declare module 'rc-slider/lib/Handle';
declare module 'rc-steps';
declare module 'rc-switch';
declare module 'rc-upload';
declare module '*.json' {
const value: any;
export const version: string;
export default value;
}
declare module 'react-copy-to-clipboard';