alm
Version:
The best IDE for TypeScript
16 lines (15 loc) • 561 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
/**
* A global view on the errors. This consolidates errors from all the workers + web server.
*
* A few error sources at the moment
* - web server: active project config does some validation
* - ts worker
* - linter worker
*/
var errorsCache_1 = require("./utils/errorsCache");
exports.errorsCache = new errorsCache_1.ErrorsCache();
exports.errorsCache.errorsDelta.on(function () {
// console.log('Error count', errorsCache.debugGetErrorsFlattened().length); // DEBUG
});