mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-22 16:48:23 +01:00
12 lines
277 B
TypeScript
12 lines
277 B
TypeScript
// Copyright 2024, 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,
|
|
};
|
|
}
|