waveterm/frontend/layout/tests/model.ts
Mike Sawka a85b658cd7
migrate to react 19 (#2272)
migrate to react 19 + fix lingering typescript errors and weirdness.
2025-08-25 21:17:15 -07:00

12 lines
312 B
TypeScript

// Copyright 2025, Command Line Inc.
// SPDX-License-Identifier: Apache-2.0
import { LayoutNode, LayoutTreeState } from "../lib/types";
export function newLayoutTreeState(rootNode: LayoutNode): LayoutTreeState {
return {
rootNode,
generation: 0,
pendingBackendActions: [],
};
}