mirror of
				https://github.com/NativeScript/NativeScript.git
				synced 2025-11-04 04:18:52 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			7 lines
		
	
	
		
			409 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
		
			409 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
// This method iterates all the keys in the source exports object and copies them to the destination exports one.
 | 
						|
// Note: the method will not check for naming collisions and will override any already existing entries in the destination exports.
 | 
						|
export var merge = function (sourceExports: any, destExports: any) {
 | 
						|
    for (var key in sourceExports) {
 | 
						|
        destExports[key] = sourceExports[key];
 | 
						|
    }
 | 
						|
} |