UNPKG

@arco-vue-pro-components/pro-components

Version:
13 lines (12 loc) 322 B
"use strict"; Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } }); const omit = (object, path) => { const result = { ...object }; for (const item of path) { if (item in result) { delete result[item]; } } return result; }; exports.omit = omit;