ソースを参照

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

読み込み中…
キャンセル
保存