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

Class RootModule

packages/core/test/di/r3_injector_spec.ts:316–324  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

314 }
315
316 class RootModule {
317 static ɵinj = ɵɵdefineInjector({
318 imports: [ChildModule],
319 providers: [],
320 });
321 constructor() {
322 moduleRegistrations.push('RootModule');
323 }
324 }
325 createInjector(RootModule);
326 expect(moduleRegistrations).toEqual(['ChildModule', 'RootModule']);
327 });

Callers

nothing calls this directly

Calls 1

ɵɵdefineInjectorFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…