Bläddra i källkod

Fixes typing of Tooltip temporarily

main
Keith Daulton 1 år sedan
förälder
incheckning
60e347291d
2 ändrade filer med 13 tillägg och 2 borttagningar
  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 Visa fil

@ -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 Visa fil

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

Laddar…
Avbryt
Spara