From dab752b34ffd99eae12701afab4c97130638b03e Mon Sep 17 00:00:00 2001 From: benishouga Date: Tue, 1 Sep 2015 02:16:04 +0900 Subject: [PATCH] Link inherit HtmlAttribute for use with className and style --- react-router/react-router.d.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/react-router/react-router.d.ts b/react-router/react-router.d.ts index f43f56484a..cc071506f0 100644 --- a/react-router/react-router.d.ts +++ b/react-router/react-router.d.ts @@ -114,13 +114,12 @@ declare module ReactRouter { // Components // ---------------------------------------------------------------------- // Link - interface LinkProp { + interface LinkProp extends React.HTMLAttributes { activeClassName?: string; activeStyle?: {}; to: string; params?: {}; query?: {}; - onClick?: Function; } interface Link extends React.ReactElement, Navigation, State { handleClick(event: any): void;