translation-parser.js 316 B

1234567891011
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.parseTranslation = void 0;
  4. var parse = require('format-message-parse');
  5. /**
  6. * Use parser from format-message-parse
  7. */
  8. function parseTranslation(pattern) {
  9. return parse(pattern);
  10. }
  11. exports.parseTranslation = parseTranslation;