Mouse event is not required

This commit is contained in:
Tom Crockett
2018-05-31 00:25:13 -07:00
parent 21c6ad0a19
commit 80f59b24c6
+4 -1
View File
@@ -9,6 +9,9 @@ import * as React from 'react';
export type LinkToFunction = (...args: any[]) => string;
export function linkTo<T>(book: string | LinkToFunction, kind?: string | LinkToFunction): React.MouseEventHandler<T>;
export function linkTo<T>(
book: string | LinkToFunction,
kind?: string | LinkToFunction
): (event?: React.MouseEvent<T>) => void;
export function hrefTo(kind: string, story: string): Promise<string>;