You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
328 B

3 months ago
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. // runtime helper for setting properties on components
  4. // in a tree-shakable way
  5. exports.default = (sfc, props) => {
  6. const target = sfc.__vccOpts || sfc;
  7. for (const [key, val] of props) {
  8. target[key] = val;
  9. }
  10. return target;
  11. };