taggedTemplateLiteral.js 567 B

123456789101112131415161718192021
  1. "use strict";
  2. exports.__esModule = true;
  3. var _defineProperties = require("../core-js/object/define-properties");
  4. var _defineProperties2 = _interopRequireDefault(_defineProperties);
  5. var _freeze = require("../core-js/object/freeze");
  6. var _freeze2 = _interopRequireDefault(_freeze);
  7. function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
  8. exports.default = function (strings, raw) {
  9. return (0, _freeze2.default)((0, _defineProperties2.default)(strings, {
  10. raw: {
  11. value: (0, _freeze2.default)(raw)
  12. }
  13. }));
  14. };