There was a missing optional argument on the topological sort method, preventing it from being called without passing in an array of source nodes. Also, I modified the tsconfig to make the error on line 149 go away, as .includes() requires ES2016 support.
There was a missing optional argument on the topological sort method, preventing it from being called without passing in an array of source nodes. Also, I modified the tsconfig to make the error on line 149 go away, as
.includes()
requires ES2016 support.