Ver a proveniência

Fixes typing of Tooltip temporarily

main
Keith Daulton há 1 ano
ascendente
cometimento
60e347291d
2 ficheiros alterados com 13 adições e 2 eliminações
  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 Ver ficheiro

@ -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 Ver ficheiro

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

Carregando…
Cancelar
Guardar