MCPcopy Create free account
hub / github.com/dataease/SQLBot / mergeObjectsOfDecorators

Function mergeObjectsOfDecorators

frontend/public/swagger-ui-bundle.js:45841–45851  ·  view source on GitHub ↗
(s, o)

Source from the content-addressed store, hash-verified

45839 Ed = 'deep',
45840 wd = new WeakMap(),
45841 getMixinsForClass = (s) => wd.get(s),
45842 mergeObjectsOfDecorators = (s, o) => {
45843 var i, a
45844 const u = unique([...Object.getOwnPropertyNames(s), ...Object.getOwnPropertyNames(o)]),
45845 _ = {}
45846 for (let w of u)
45847 _[w] = unique([
45848 ...(null !== (i = null == s ? void 0 : s[w]) && void 0 !== i ? i : []),
45849 ...(null !== (a = null == o ? void 0 : o[w]) && void 0 !== a ? a : []),
45850 ])
45851 return _
45852 },
45853 mergePropertyAndMethodDecorators = (s, o) => {
45854 var i, a, u, _

Callers 1

Calls 1

uniqueFunction · 0.85

Tested by

no test coverage detected