({ current, total, title }: { current?: number, total?: number, title?: string } = {})
| 58 | } |
| 59 | |
| 60 | constructor({ current, total, title }: { current?: number, total?: number, title?: string } = {}) { |
| 61 | super() |
| 62 | this.current = current ?? this.current; |
| 63 | this.total = total ?? this.total |
| 64 | this.title = title ?? '' |
| 65 | this.checkCompleteEvent() |
| 66 | } |
| 67 | |
| 68 | private checkCompleteEvent() { |
| 69 | if (this.completeEventEmitted && !this.isComplete()) { |
nothing calls this directly
no test coverage detected