12 lines
		
	
	
		
			275 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			275 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
import { watch, unref } from 'vue';
 | 
						|
 | 
						|
const useDeprecated = ({ from, replacement, scope, version, ref, type = "API" }, condition) => {
 | 
						|
  watch(() => unref(condition), (val) => {
 | 
						|
  }, {
 | 
						|
    immediate: true
 | 
						|
  });
 | 
						|
};
 | 
						|
 | 
						|
export { useDeprecated };
 | 
						|
//# sourceMappingURL=index.mjs.map
 |