mirror of
https://github.moeyy.xyz/https://github.com/trekhleb/javascript-algorithms.git
synced 2024-12-27 15:41:16 +08:00
Added missing return type (#23)
This commit is contained in:
parent
2e3860f357
commit
f93d12d5dd
@ -28,6 +28,7 @@ export default class Graph {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @param {GraphVertex} vertex
|
* @param {GraphVertex} vertex
|
||||||
|
* @returns {GraphVertex[]}
|
||||||
*/
|
*/
|
||||||
getNeighbors(vertex) {
|
getNeighbors(vertex) {
|
||||||
return vertex.getNeighbors();
|
return vertex.getNeighbors();
|
||||||
|
Loading…
Reference in New Issue
Block a user