mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
Add missing type argument and requires
1. React now requires a type argument for MouseEventHandler.
2. Nodemailer now requires `require('nodemailer')` to access its types.
They are not available in the nodemailer namespace in the global namespace.
This commit is contained in:
2
react-bootstrap/index.d.ts
vendored
2
react-bootstrap/index.d.ts
vendored
@@ -111,7 +111,7 @@ declare namespace ReactBootstrap {
|
||||
// <SafeAnchor />
|
||||
interface SafeAnchorProps extends React.HTMLProps<SafeAnchor> {
|
||||
href?: string;
|
||||
onClick?: React.MouseEventHandler;
|
||||
onClick?: React.MouseEventHandler<{}>;
|
||||
disabled?: boolean;
|
||||
role?: string;
|
||||
componentClass?: React.ReactType;
|
||||
|
||||
Reference in New Issue
Block a user