UNPKG

@scalar/api-client

Version:

the open source API testing client

22 lines (21 loc) 366 B
import { defineComponent as m, watch as c } from "vue"; const r = { name: "ValueEmitter" }, o = /* @__PURE__ */ m({ ...r, props: { value: {} }, emits: ["change"], setup(t, { emit: a }) { const n = a; return c( () => t.value, (e) => n("change", e), { immediate: !0 } ), (e, u) => null; } }); export { o as default };