mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
The `complete` variable is described as (true|false) if the progress status is completed.
Quickstart instructions has `complete` in the example.
```javascript
var ProgressBar = require('progress');
var bar = new ProgressBar(':bar', { total: 10 });
var timer = setInterval(function () {
bar.tick();
if (bar.complete) {
console.log('\ncomplete\n');
clearInterval(timer);
}
}, 100);
```
|
||
|---|---|---|
| .. | ||
| progress-tests.ts | ||
| progress.d.ts | ||