* Compute an array of source-files that illustrates the cyclic path between `from` and `to`. * * Note that a `Cycle` will not be created unless a path is available between `to` and `from`, * so `findPath()` will never return `null`.
()
| 148 | * so `findPath()` will never return `null`. |
| 149 | */ |
| 150 | getPath(): ts.SourceFile[] { |
| 151 | return [this.from, ...this.importGraph.findPath(this.to, this.from)!]; |
| 152 | } |
| 153 | } |
| 154 | |
| 155 | /** |
no test coverage detected