Skip to content

Commit

Permalink
fix(type): Fix global method parameter type (ReactTooltip#585)
Browse files Browse the repository at this point in the history
  • Loading branch information
MtBlue81 authored Jun 14, 2020
1 parent ad7add0 commit 5e2b8db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions react-tooltip.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export interface TooltipProps {
// ReactTooltip component is the default export
export default class ReactTooltip extends React.Component<TooltipProps> {
// static methods
static show: (target: string) => {};
static hide: (target?: string) => {};
static show: (target: Element) => {};
static hide: (target?: Element) => {};
static rebuild: () => {};
}

0 comments on commit 5e2b8db

Please sign in to comment.