default to any
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import type { DataSourceResponse } from '@umbraco-cms/backoffice/repository';
|
||||
|
||||
export interface UmbTreeDataSource<PagedItemsType, ItemsType> {
|
||||
export interface UmbTreeDataSource<PagedItemsType = any, ItemsType = any> {
|
||||
getRootItems(): Promise<DataSourceResponse<PagedItemsType>>;
|
||||
getChildrenOf(parentUnique: string): Promise<DataSourceResponse<PagedItemsType>>;
|
||||
getItems(unique: Array<string>): Promise<DataSourceResponse<Array<ItemsType>>>;
|
||||
|
||||
Reference in New Issue
Block a user