mirror of
https://github.moeyy.xyz/https://github.com/trekhleb/javascript-algorithms.git
synced 2024-12-26 23:21:18 +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
|
||||
* @returns {GraphVertex[]}
|
||||
*/
|
||||
getNeighbors(vertex) {
|
||||
return vertex.getNeighbors();
|
||||
|
Loading…
Reference in New Issue
Block a user