From a0af484a9c641e313b69e7dec32701dbba57cc08 Mon Sep 17 00:00:00 2001 From: Tom Crockett Date: Tue, 28 Nov 2017 15:43:56 -0800 Subject: [PATCH] [redux-first-router-link] Fix the type of OnClick --- types/redux-first-router-link/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/redux-first-router-link/index.d.ts b/types/redux-first-router-link/index.d.ts index d7b2e7a079..c74bdd530b 100644 --- a/types/redux-first-router-link/index.d.ts +++ b/types/redux-first-router-link/index.d.ts @@ -9,7 +9,7 @@ import { Location } from 'redux-first-router'; export type To = string | string[] | object; -export type OnClick = false | ((e: React.SyntheticEvent) => boolean | undefined); +export type OnClick = false | ((e: React.MouseEvent) => void); export interface Match

{ params: P;