default to any

This commit is contained in:
Mads Rasmussen
2023-03-24 15:00:24 +01:00
parent af19b30feb
commit 2a33cf02ee

View File

@@ -1,7 +1,7 @@
import type { Observable } from 'rxjs';
import { TreeItemPresentationModel } from '../backend-api';
export interface UmbTreeStore<T extends TreeItemPresentationModel> {
export interface UmbTreeStore<T extends TreeItemPresentationModel = any> {
appendItems: (items: Array<T>) => void;
updateItem: (unique: string, item: Partial<T>) => void;
removeItem: (unique: string) => void;