Skip to content

Commit 17458a1

Browse files
madsrasmusseniOvergaard
authored andcommitted
pass type to remove tsignore
1 parent 6ff2981 commit 17458a1

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed
Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
import { UMB_SCRIPT_ITEM_REPOSITORY_ALIAS } from '../../repository/item/index.js';
22
import { UMB_SCRIPT_PICKER_MODAL } from '../../modals/script-picker-modal.token.js';
3-
import type { UmbScriptItemModel } from '../../index.js';
3+
import type { UmbScriptItemModel, UmbScriptTreeItemModel } from '../../index.js';
44
import { UmbPickerInputContext } from '@umbraco-cms/backoffice/picker-input';
55
import type { UmbControllerHost } from '@umbraco-cms/backoffice/controller-api';
66

7-
export class UmbScriptPickerContext extends UmbPickerInputContext<UmbScriptItemModel> {
7+
export class UmbScriptPickerContext extends UmbPickerInputContext<UmbScriptItemModel, UmbScriptTreeItemModel> {
88
constructor(host: UmbControllerHost) {
9-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
10-
// @ts-ignore
119
super(host, UMB_SCRIPT_ITEM_REPOSITORY_ALIAS, UMB_SCRIPT_PICKER_MODAL);
1210
}
1311
}

0 commit comments

Comments
 (0)