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

Function mergeDecorators

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

Source from the content-addressed store, hash-verified

45863 ),
45864 }
45865 },
45866 mergeDecorators = (s, o) => {
45867 var i, a, u, _, w, x
45868 return {
45869 class: unique([
45870 ...(null !== (i = null == s ? void 0 : s.class) && void 0 !== i ? i : []),
45871 ...(null !== (a = null == o ? void 0 : o.class) && void 0 !== a ? a : []),
45872 ]),
45873 static: mergePropertyAndMethodDecorators(
45874 null !== (u = null == s ? void 0 : s.static) && void 0 !== u ? u : {},
45875 null !== (_ = null == o ? void 0 : o.static) && void 0 !== _ ? _ : {}
45876 ),
45877 instance: mergePropertyAndMethodDecorators(
45878 null !== (w = null == s ? void 0 : s.instance) && void 0 !== w ? w : {},
45879 null !== (x = null == o ? void 0 : o.instance) && void 0 !== x ? x : {}
45880 ),
45881 }
45882 },
45883 xd = new Map(),
45884 deepDecoratorSearch = (...s) => {

Callers 2

deepDecoratorSearchFunction · 0.85
MixinFunction · 0.85

Calls 2

uniqueFunction · 0.85

Tested by

no test coverage detected