Added missing return type (#23)

This commit is contained in:
Federico Bozzini 2018-05-27 17:20:04 +02:00 committed by Oleksii Trekhleb
parent 2e3860f357
commit f93d12d5dd

View File

@ -28,6 +28,7 @@ export default class Graph {
/**
* @param {GraphVertex} vertex
* @returns {GraphVertex[]}
*/
getNeighbors(vertex) {
return vertex.getNeighbors();