( type: ComponentType<any>, directives: Type<any>[] | (() => Type<any>[]), pipes: Type<any>[] | (() => Type<any>[]), )
| 33 | * @codeGenApi |
| 34 | */ |
| 35 | export function ɵɵsetComponentScope( |
| 36 | type: ComponentType<any>, |
| 37 | directives: Type<any>[] | (() => Type<any>[]), |
| 38 | pipes: Type<any>[] | (() => Type<any>[]), |
| 39 | ): void { |
| 40 | const def = type.ɵcmp as ComponentDef<any>; |
| 41 | def.directiveDefs = extractDefListOrFactory(directives, extractDirectiveDef); |
| 42 | def.pipeDefs = extractDefListOrFactory(pipes, getPipeDef); |
| 43 | } |
| 44 | |
| 45 | /** |
| 46 | * Adds the module metadata that is necessary to compute the module's transitive scope to an |
no test coverage detected
searching dependent graphs…