Skip to content

Commit 5e2b8db

Browse files
authored
fix(type): Fix global method parameter type (#585)
1 parent ad7add0 commit 5e2b8db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

react-tooltip.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ export interface TooltipProps {
109109
// ReactTooltip component is the default export
110110
export default class ReactTooltip extends React.Component<TooltipProps> {
111111
// static methods
112-
static show: (target: string) => {};
113-
static hide: (target?: string) => {};
112+
static show: (target: Element) => {};
113+
static hide: (target?: Element) => {};
114114
static rebuild: () => {};
115115
}

0 commit comments

Comments
 (0)