File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
docs/docs/data-structures/tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ export class CollaborationFluidClient {
9797 if (containerId .length === 0 ) {
9898 // Path 1: Creating a new container
9999 const container = await this .createFluidContainer ();
100- const view: TreeView = container .initialObjects .appData .viewWith (AppDataTreeConfiguration );
100+ const view = container .initialObjects .appData .viewWith (AppDataTreeConfiguration );
101101
102102 if (! view .compatibility .canInitialize ) {
103103 throw new Error (" The tree must be safe to initialize upon creation of the Fluid container" );
@@ -110,7 +110,7 @@ export class CollaborationFluidClient {
110110 } else {
111111 // Path 2: Loading an existing container
112112 const container = await this .loadFluidContainer (containerId );
113- const view: TreeView = container .initialObjects .appData .viewWith (AppDataTreeConfiguration );
113+ const view = container .initialObjects .appData .viewWith (AppDataTreeConfiguration );
114114
115115 if (view .compatibility .canInitialize ) {
116116 throw new Error (" The tree should already be initialized if the Fluid container exists" );
You can’t perform that action at this time.
0 commit comments