interface TraversalContext<S> {
    opts: TraverseOptions<Node>;
    parentPath: NodePath<Node>;
    scope: Scope;
    state: S;
}

Type Parameters

  • S = unknown

Properties

parentPath: NodePath<Node>
scope: Scope
state: S