diff --git a/src/Umbraco.Web.UI.Client/src/packages/core/collection/default/collection-default.context.ts b/src/Umbraco.Web.UI.Client/src/packages/core/collection/default/collection-default.context.ts index 5083c8ae66..51ecbb17a7 100644 --- a/src/Umbraco.Web.UI.Client/src/packages/core/collection/default/collection-default.context.ts +++ b/src/Umbraco.Web.UI.Client/src/packages/core/collection/default/collection-default.context.ts @@ -15,13 +15,16 @@ import type { UmbCollectionFilterModel } from '@umbraco-cms/backoffice/collectio import { UmbSelectionManager, UmbPaginationManager } from '@umbraco-cms/backoffice/utils'; import { UmbChangeEvent } from '@umbraco-cms/backoffice/event'; -export class UmbDefaultCollectionContext +export class UmbDefaultCollectionContext< + CollectionItemType = any, + FilterModelType extends UmbCollectionFilterModel = any, + > extends UmbContextBase implements UmbCollectionContext, UmbApi { #manifest?: ManifestCollection; - #items = new UmbArrayState([], (x) => x); + #items = new UmbArrayState([], (x) => x); public readonly items = this.#items.asObservable(); #totalItems = new UmbNumberState(0);