()
| 15 | constructor(public name: string, public components: Component[]) {} |
| 16 | |
| 17 | public next(): {done: boolean, value?: Component} { |
| 18 | if (this.pointer < this.components.length) { |
| 19 | return { |
| 20 | done: false, |
| 21 | value: this.components[this.pointer++] |
| 22 | } |
| 23 | } else return { |
| 24 | done: true |
| 25 | } |
| 26 | } |
| 27 | |
| 28 | } |
| 29 |
no outgoing calls
no test coverage detected