From 60e347291db24d374a034975b7d6686d67f8d0a4 Mon Sep 17 00:00:00 2001 From: Keith Daulton Date: Wed, 2 Aug 2023 10:40:37 -0400 Subject: [PATCH] Fixes typing of Tooltip temporarily --- src/webviews/apps/plus/focus/components/gk-issue-row.ts | 3 ++- .../apps/plus/focus/components/gk-pull-request-row.ts | 12 +++++++++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/src/webviews/apps/plus/focus/components/gk-issue-row.ts b/src/webviews/apps/plus/focus/components/gk-issue-row.ts index 1de2ab4..f5ff0a5 100644 --- a/src/webviews/apps/plus/focus/components/gk-issue-row.ts +++ b/src/webviews/apps/plus/focus/components/gk-issue-row.ts @@ -86,7 +86,8 @@ export class GkIssueRow extends LitElement { constructor() { super(); - defineGkElement(Tag, FocusRow, FocusItem, AvatarGroup, Avatar, RelativeDate, Tooltip); + // Tooltip typing isn't being properly recognized as `typeof GkElement` + defineGkElement(Tag, FocusRow, FocusItem, AvatarGroup, Avatar, RelativeDate, Tooltip as any); } get lastUpdatedDate() { diff --git a/src/webviews/apps/plus/focus/components/gk-pull-request-row.ts b/src/webviews/apps/plus/focus/components/gk-pull-request-row.ts index aa3fc98..f86ea15 100644 --- a/src/webviews/apps/plus/focus/components/gk-pull-request-row.ts +++ b/src/webviews/apps/plus/focus/components/gk-pull-request-row.ts @@ -117,7 +117,17 @@ export class GkPullRequestRow extends LitElement { constructor() { super(); - defineGkElement(Tag, FocusRow, FocusItem, AvatarGroup, Avatar, RelativeDate, AdditionsDeletions, Tooltip); + // Tooltip typing isn't being properly recognized as `typeof GkElement` + defineGkElement( + Tag, + FocusRow, + FocusItem, + AvatarGroup, + Avatar, + RelativeDate, + AdditionsDeletions, + Tooltip as any, + ); } get lastUpdatedDate() {