diff --git a/components/lib/tooltip/tooltip.d.ts b/components/lib/tooltip/tooltip.d.ts index 8514e92cfc..d9177c699a 100644 --- a/components/lib/tooltip/tooltip.d.ts +++ b/components/lib/tooltip/tooltip.d.ts @@ -145,17 +145,17 @@ export declare class Tooltip extends React.Component { * 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 | undefined} target - Target element or if undefined will use current target. */ - public updateTargetEvents(target: string | string[] | HTMLElement | React.RefObject | undefined): void; + public updateTargetEvents(target?: string | string[] | HTMLElement | React.RefObject | undefined): void; /** * Used to load target events. * @param {string | string[] | HTMLElement | React.RefObject | undefined} target - Target element or if undefined will use current target. */ - public loadTargetEvents(target: string | string[] | HTMLElement | React.RefObject | undefined): void; + public loadTargetEvents(target?: string | string[] | HTMLElement | React.RefObject | undefined): void; /** * Used to unload target events. * @param {string | string[] | HTMLElement | React.RefObject | undefined} target - Target element or if undefined will use current target. */ - public unloadTargetEvents(target: string | string[] | HTMLElement | React.RefObject | undefined): void; + public unloadTargetEvents(target?: string | string[] | HTMLElement | React.RefObject | undefined): void; /** * Used to get container element. * @return {HTMLElement} Container element