Skip to content

Commit f8136aa

Browse files
committed
feat: add types for tree data in ref (#277)
1 parent f6df085 commit f8136aa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/core/src/types.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,9 @@ export interface TreeEnvironmentRef<T = any, C extends string = never>
242242
Omit<TreeEnvironmentConfiguration<T, C>, keyof TreeChangeHandlers> {
243243
treeEnvironmentContext: TreeEnvironmentContextProps;
244244
dragAndDropContext: DragAndDropContextProps;
245+
activeTreeId?: string;
246+
treeIds: string[];
247+
trees: Record<string, TreeConfiguration>;
245248
}
246249

247250
export interface TreeEnvironmentConfiguration<T = any, C extends string = never>

0 commit comments

Comments
 (0)