MCPcopy Index your code
hub / github.com/angular/angular / compileModuleSync

Method compileModuleSync

packages/core/src/linker/compiler.ts:38–40  ·  view source on GitHub ↗

* Compiles the given NgModule and all of its components. All templates of the components * have to be inlined.

(moduleType: Type<T>)

Source from the content-addressed store, hash-verified

36 * have to be inlined.
37 */
38 compileModuleSync<T>(moduleType: Type<T>): NgModuleFactory<T> {
39 return new NgModuleFactoryR3(moduleType);
40 }
41
42 /**
43 * Compiles the given NgModule and all of its components

Callers 6

compileModuleAsyncMethod · 0.95
bootstrapFnFunction · 0.45
getAdaptorFunction · 0.45

Implementers 1

R3TestCompilerpackages/core/testing/src/test_bed_com

Calls

no outgoing calls

Tested by

no test coverage detected