UNPKG

st-bundle

Version:

CLI for watching and bundling SpringType projects.

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