Skip to content

Commit 64562d3

Browse files
committed
chore: fix lint error
1 parent d14362c commit 64562d3

File tree

2 files changed

+10
-14
lines changed

2 files changed

+10
-14
lines changed

src/packages/documents/documents/entity-actions/notifications/modal/document-notifications-modal.element.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
import { UmbDocumentNotificationsRepository } from '../repository/document-notifications.repository.js';
2-
import type {
3-
UmbDocumentNotificationsModalData,
4-
UmbDocumentNotificationsModalValue,
5-
} from './document-notifications-modal.token.js';
2+
import type { UmbDocumentNotificationsModalData } from './document-notifications-modal.token.js';
63
import type { UmbEntityUnique } from '@umbraco-cms/backoffice/entity';
74
import type { GetDocumentByIdNotificationsResponse } from '@umbraco-cms/backoffice/external/backend-api';
85
import { css, customElement, html, repeat, state } from '@umbraco-cms/backoffice/external/lit';
@@ -14,7 +11,7 @@ type UmbDocumentNotificationSettings = GetDocumentByIdNotificationsResponse;
1411
@customElement('umb-document-notifications-modal')
1512
export class UmbDocumentNotificationsModalElement extends UmbModalBaseElement<
1613
UmbDocumentNotificationsModalData,
17-
UmbDocumentNotificationsModalValue
14+
never
1815
> {
1916
#unique?: UmbEntityUnique;
2017
#documentNotificationsRepository = new UmbDocumentNotificationsRepository(this);

src/packages/documents/documents/entity-actions/notifications/modal/document-notifications-modal.token.ts

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,13 @@ import { UmbModalToken } from '@umbraco-cms/backoffice/modal';
55
export interface UmbDocumentNotificationsModalData {
66
unique: UmbEntityUnique;
77
}
8-
export interface UmbDocumentNotificationsModalValue {}
98

10-
export const UMB_DOCUMENT_NOTIFICATIONS_MODAL = new UmbModalToken<
11-
UmbDocumentNotificationsModalData,
12-
UmbDocumentNotificationsModalValue
13-
>(UMB_DOCUMENT_NOTIFICATIONS_MODAL_ALIAS, {
14-
modal: {
15-
type: 'sidebar',
16-
size: 'small',
9+
export const UMB_DOCUMENT_NOTIFICATIONS_MODAL = new UmbModalToken<UmbDocumentNotificationsModalData, never>(
10+
UMB_DOCUMENT_NOTIFICATIONS_MODAL_ALIAS,
11+
{
12+
modal: {
13+
type: 'sidebar',
14+
size: 'small',
15+
},
1716
},
18-
});
17+
);

0 commit comments

Comments
 (0)