Skip to content

Commit

Permalink
fix(tooltip): use correct type on event emitter
Browse files Browse the repository at this point in the history
  • Loading branch information
dpellier committed Jul 29, 2024
1 parent c065380 commit 4a71276
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ export class OdsTooltip {
@Prop({ reflect: true }) public triggerId!: string;
@Prop({ reflect: true }) public withArrow: boolean = false;

@Event() odsTooltipHide!: EventEmitter<string>;
@Event() odsTooltipShow!: EventEmitter<string>;
@Event() odsTooltipHide!: EventEmitter<void>;
@Event() odsTooltipShow!: EventEmitter<void>;

connectedCallback(): void {
this.triggerElement = findTriggerElement(this.triggerId, this.shadowDomTriggerId);
Expand Down

0 comments on commit 4a71276

Please sign in to comment.