| 38 | |
| 39 | // used for web worker |
| 40 | export interface TreeObject { |
| 41 | nodeMap: Record<string, Node>; |
| 42 | text: string; |
| 43 | errors?: ContextError[]; |
| 44 | version?: number; |
| 45 | } |
| 46 | |
| 47 | const emptyTree: Readonly<TreeObject> = { |
| 48 | nodeMap: {}, |
nothing calls this directly
no outgoing calls
no test coverage detected