Преглед изворни кода

Fixes typing of Tooltip temporarily

main
Keith Daulton пре 1 година
родитељ
комит
60e347291d
2 измењених фајлова са 13 додато и 2 уклоњено
  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 Прегледај датотеку

@ -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 Прегледај датотеку

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

Loading…
Откажи
Сачувај