UNPKG

st-bundle

Version:

CLI for watching and bundling SpringType projects.

21 lines 602 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); function getGlobalDiagnostics(options, program) { return program .getGlobalDiagnostics() .filter(errors => { if (options.skipTsErrors && options.skipTsErrors.indexOf(errors.code) !== -1) { return false; } else { return true; } }) .map(obj => { obj._type = 'global'; return obj; }); } exports.getGlobalDiagnostics = getGlobalDiagnostics; //# sourceMappingURL=getGlobalDiagnostics.js.map