I wanted to use react stateless component in typescript with defaultProps.
I am not able to find solution how to use typings that would allow me to use defaultProps in TypeScript project without diamond syntax.
import {Link} from "react-router";
interface LinkProps {
...
}
const LinkPresenter = (props: LinkProps): JSX.Element =>
<Link
...
>
...
</Link>;
LinkPresenter.defaultProps = { // !!! unresolved variable defaultProps
...
};