From 1c36a7bcd4ace9cc7aa69d20e7a54055b46271bf Mon Sep 17 00:00:00 2001 From: Cory LaViska Date: Thu, 21 Jul 2022 10:01:30 -0400 Subject: [PATCH] remove void --- src/components/tooltip/tooltip.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/tooltip/tooltip.ts b/src/components/tooltip/tooltip.ts index 3c9b10cf3..92742d454 100644 --- a/src/components/tooltip/tooltip.ts +++ b/src/components/tooltip/tooltip.ts @@ -198,7 +198,7 @@ export default class SlTooltip extends LitElement { if (this.hasTrigger('hover')) { const delay = parseDuration(getComputedStyle(this).getPropertyValue('--show-delay')); clearTimeout(this.hoverTimeout); - this.hoverTimeout = window.setTimeout(() => void this.show(), delay); + this.hoverTimeout = window.setTimeout(() => this.show(), delay); } } @@ -206,7 +206,7 @@ export default class SlTooltip extends LitElement { if (this.hasTrigger('hover')) { const delay = parseDuration(getComputedStyle(this).getPropertyValue('--hide-delay')); clearTimeout(this.hoverTimeout); - this.hoverTimeout = window.setTimeout(() => void this.hide(), delay); + this.hoverTimeout = window.setTimeout(() => this.hide(), delay); } }