Skip to content

Commit

Permalink
fix: remove erroneous jsDoc
Browse files Browse the repository at this point in the history
  • Loading branch information
emyann committed Feb 4, 2020
1 parent 54a3284 commit 3e9f411
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
6 changes: 0 additions & 6 deletions src/data-structures/Graph/Graph.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,6 @@ export class Graph<TVertex, TEdge> {
return this;
}

/**
* @param {GraphEdge} edge
*/
deleteEdge(edge: GraphEdge<TVertex, TEdge>) {
// Delete edge from the list of edges.
if (this.edges[edge.getKey()]) {
Expand Down Expand Up @@ -150,9 +147,6 @@ export class Graph<TVertex, TEdge> {
return adjacencyMatrix;
}

/**
* @return {string}
*/
toString() {
return Object.keys(this.vertices).toString();
}
Expand Down
6 changes: 0 additions & 6 deletions src/data-structures/Graph/GraphEdge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ export class GraphEdge<TVertex, TEdge> {
return `${startVertexKey}_${endVertexKey}`;
}

/**
* @return {GraphEdge}
*/
reverse() {
const tmp = this.startVertex;
this.startVertex = this.endVertex;
Expand All @@ -21,9 +18,6 @@ export class GraphEdge<TVertex, TEdge> {
return this;
}

/**
* @return {string}
*/
toString() {
return this.getKey();
}
Expand Down

0 comments on commit 3e9f411

Please sign in to comment.