mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-22 11:57:33 +08:00
Specify function type.
This commit is contained in:
4
react-modal/index.d.ts
vendored
4
react-modal/index.d.ts
vendored
@@ -18,8 +18,8 @@ declare module "react-modal" {
|
||||
};
|
||||
};
|
||||
appElement?: HTMLElement | {};
|
||||
onAfterOpen?: Function;
|
||||
onRequestClose?: Function;
|
||||
onAfterOpen?: () => void;
|
||||
onRequestClose?: () => void;
|
||||
closeTimeoutMS?: number;
|
||||
ariaHideApp?: boolean;
|
||||
shouldCloseOnOverlayClick?: boolean;
|
||||
|
||||
Reference in New Issue
Block a user