12 lines
		
	
	
		
			328 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			328 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| "use strict";
 | |
| Object.defineProperty(exports, "__esModule", { value: true });
 | |
| // runtime helper for setting properties on components
 | |
| // in a tree-shakable way
 | |
| exports.default = (sfc, props) => {
 | |
|     const target = sfc.__vccOpts || sfc;
 | |
|     for (const [key, val] of props) {
 | |
|         target[key] = val;
 | |
|     }
 | |
|     return target;
 | |
| };
 |