Skip to content

Commit

Permalink
Tooltip fix Typescript def of events (#6089)
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware committed Mar 5, 2024
1 parent a2a2f11 commit 9ada4ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/lib/tooltip/tooltip.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,17 +145,17 @@ export declare class Tooltip extends React.Component<TooltipProps, any> {
* Used to reload target events. In some cases, the target element can be hidden initially. Later, when this element becomes visible, it will be necessary to bind tooltip events to this element.
* @param {string | string[] | HTMLElement | React.RefObject<HTMLElement> | undefined} target - Target element or if undefined will use current target.
*/
public updateTargetEvents(target: string | string[] | HTMLElement | React.RefObject<HTMLElement> | undefined): void;
public updateTargetEvents(target?: string | string[] | HTMLElement | React.RefObject<HTMLElement> | undefined): void;
/**
* Used to load target events.
* @param {string | string[] | HTMLElement | React.RefObject<HTMLElement> | undefined} target - Target element or if undefined will use current target.
*/
public loadTargetEvents(target: string | string[] | HTMLElement | React.RefObject<HTMLElement> | undefined): void;
public loadTargetEvents(target?: string | string[] | HTMLElement | React.RefObject<HTMLElement> | undefined): void;
/**
* Used to unload target events.
* @param {string | string[] | HTMLElement | React.RefObject<HTMLElement> | undefined} target - Target element or if undefined will use current target.
*/
public unloadTargetEvents(target: string | string[] | HTMLElement | React.RefObject<HTMLElement> | undefined): void;
public unloadTargetEvents(target?: string | string[] | HTMLElement | React.RefObject<HTMLElement> | undefined): void;
/**
* Used to get container element.
* @return {HTMLElement} Container element
Expand Down

0 comments on commit 9ada4ac

Please sign in to comment.