import { ref, readonly } from "vue";
function useUpdate() {
const update = ref({});
const setUpdate = () => {
update.value = Object.assign({}, { ...update.value });
};
return {
update: readonly(update),
setUpdate
};
}
export {
useUpdate as default
};