MCPcopy
hub / github.com/angular/angularfire / ɵapplyMixins

Function ɵapplyMixins

src/compat/proxy.ts:77–87  ·  view source on GitHub ↗
(derivedCtor: any, constructors: any[])

Source from the content-addressed store, hash-verified

75};
76
77export const ɵapplyMixins = (derivedCtor: any, constructors: any[]) => {
78 constructors.forEach((baseCtor) => {
79 Object.getOwnPropertyNames(baseCtor.prototype || baseCtor).forEach((name) => {
80 Object.defineProperty(
81 derivedCtor.prototype,
82 name,
83 Object.getOwnPropertyDescriptor(baseCtor.prototype || baseCtor, name)
84 );
85 });
86 });
87};

Callers 6

messaging.tsFile · 0.90
auth.tsFile · 0.90
performance.tsFile · 0.90
functions.tsFile · 0.90
remote-config.tsFile · 0.90
analytics.tsFile · 0.90

Calls 1

forEachMethod · 0.65

Tested by

no test coverage detected