Pārlūkot izejas kodu

Fixes typing of Tooltip temporarily

main
Keith Daulton pirms 1 gada
vecāks
revīzija
60e347291d
2 mainītis faili ar 13 papildinājumiem un 2 dzēšanām
  1. +2
    -1
      src/webviews/apps/plus/focus/components/gk-issue-row.ts
  2. +11
    -1
      src/webviews/apps/plus/focus/components/gk-pull-request-row.ts

+ 2
- 1
src/webviews/apps/plus/focus/components/gk-issue-row.ts Parādīt failu

@ -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() {

+ 11
- 1
src/webviews/apps/plus/focus/components/gk-pull-request-row.ts Parādīt failu

@ -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() {

Notiek ielāde…
Atcelt
Saglabāt