traceCollapsedNode.tsx 373 B

12345678910111213
  1. import type {TraceTree} from './traceTree';
  2. import {TraceTreeNode} from './traceTreeNode';
  3. export class CollapsedNode extends TraceTreeNode<TraceTree.CollapsedNode> {
  4. constructor(
  5. parent: TraceTreeNode<TraceTree.NodeValue>,
  6. node: TraceTree.CollapsedNode,
  7. metadata: TraceTree.Metadata
  8. ) {
  9. super(parent, node, metadata);
  10. this.expanded = false;
  11. }
  12. }