@ng-doc/builder
Version:
<!-- PROJECT LOGO --> <br /> <div align="center"> <a href="https://github.com/ng-doc/ng-doc"> <img src="https://ng-doc.com/assets/images/ng-doc.svg?raw=true" alt="Logo" height="150px"> </a>
17 lines • 540 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.printProgress = printProgress;
const spinner_1 = require("@angular-devkit/build-angular/src/utils/spinner");
const spinner = new spinner_1.Spinner();
/**
* Prints a progress message. If no message is passed, the message will be cleared.
* @param text - The message to print.
*/
function printProgress(text) {
spinner.stop();
if (text) {
spinner.text = `NgDoc: ${text}`;
spinner.start();
}
}
//# sourceMappingURL=print.js.map
;