mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 14:57:10 +00:00
Merge pull request #21814 from pelotom/patch-10
[redux-first-router-link] Fix the type of OnClick
This commit is contained in:
+1
-1
@@ -9,7 +9,7 @@ import { Location } from 'redux-first-router';
|
||||
|
||||
export type To = string | string[] | object;
|
||||
|
||||
export type OnClick = false | ((e: React.SyntheticEvent<HTMLElement>) => boolean | undefined);
|
||||
export type OnClick = false | ((e: React.MouseEvent<HTMLElement>) => void);
|
||||
|
||||
export interface Match<P> {
|
||||
params: P;
|
||||
|
||||
Reference in New Issue
Block a user