Skip to content

Commit af0aa1a

Browse files
committed
docs: jsdoc for adjacent()
1 parent 3b57fa8 commit af0aa1a

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/Graph.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,7 @@ export class Graph<Node = string, LinkProps = unknown, Link extends Edge<Node, L
9898
}
9999

100100
/**
101-
* Gets the adjacent node list for the given node.
102-
* @returns an empty set for unknown nodes.
103-
* @param node
101+
* Gets the adjacent node set for the given node.
104102
*/
105103
adjacent(node: Node): Set<Node> | undefined {
106104
return this.edges.get(node);

0 commit comments

Comments
 (0)