UNPKG

jats-xml

Version:

Types and utilities for working with JATS in Typescript

7 lines (6 loc) 280 B
import { fileWarn, RuleId } from 'myst-common'; export function recordJatsMessage(vfile, reason, opts) { if (!vfile) return; fileWarn(vfile, reason, { source: 'jats-xml', ruleId: RuleId.jatsParses, note: opts === null || opts === void 0 ? void 0 : opts.note }); }