MCPcopy
hub / github.com/angular/angular / ɵɵngDeclareClassMetadata

Function ɵɵngDeclareClassMetadata

packages/core/src/render3/jit/partial.ts:50–62  ·  view source on GitHub ↗
(decl: {
  type: Type<any>;
  decorators: any[];
  ctorParameters?: () => any[];
  propDecorators?: {[field: string]: any};
})

Source from the content-addressed store, hash-verified

48 * @codeGenApi
49 */
50export function ɵɵngDeclareClassMetadata(decl: {
51 type: Type<any>;
52 decorators: any[];
53 ctorParameters?: () => any[];
54 propDecorators?: {[field: string]: any};
55}): void {
56 setClassMetadata(
57 decl.type,
58 decl.decorators,
59 decl.ctorParameters ?? null,
60 decl.propDecorators ?? null,
61 );
62}
63
64/**
65 * Evaluates the class metadata of a component that contains deferred blocks.

Callers 1

Calls 1

setClassMetadataFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…