RawFormatter.js 466 B

1234567891011
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. var issue_1 = require("../issue");
  4. function createRawFormatter() {
  5. return function rawFormatter(issue) {
  6. var code = issue.origin === issue_1.IssueOrigin.TYPESCRIPT ? "TS" + issue.code : issue.code;
  7. return issue.severity.toUpperCase() + " " + code + ": " + issue.message;
  8. };
  9. }
  10. exports.createRawFormatter = createRawFormatter;
  11. //# sourceMappingURL=RawFormatter.js.map