| 20 | standalone: false, |
| 21 | }) |
| 22 | export class AppComponent { |
| 23 | show = false; |
| 24 | msg = 'hello'; |
| 25 | list: {i: number; text: string}[] = []; |
| 26 | |
| 27 | constructor() { |
| 28 | for (let i = 0; i < 1000; i++) { |
| 29 | this.list.push({i, text: 'foobar' + i}); |
| 30 | } |
| 31 | } |
| 32 | |
| 33 | create() { |
| 34 | this.show = true; |
| 35 | } |
| 36 | |
| 37 | update() { |
| 38 | this.msg = this.msg === 'hello' ? 'bye' : 'hello'; |
| 39 | this.list[0].text = this.msg; |
| 40 | } |
| 41 | |
| 42 | destroy() { |
| 43 | this.show = false; |
| 44 | } |
| 45 | } |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…