MCPcopy Create free account
hub / github.com/angular/angular / LoadedModule

Class LoadedModule

packages/router/test/integration/route_data.spec.ts:240–252  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

238 class LazyComponent1 {}
239
240 @NgModule({
241 declarations: [LazyComponent1],
242 imports: [
243 RouterModule.forChild([
244 {
245 path: 'loaded',
246 component: LazyComponent1,
247 resolve: {e1: 'resolveEmpty', e2: 'resolveEmpty'},
248 },
249 ]),
250 ],
251 })
252 class LoadedModule {}
253
254 router.resetConfig([{path: 'lazy', loadChildren: () => LoadedModule}]);
255

Callers

nothing calls this directly

Calls 2

NgModuleInterface · 0.90
forChildMethod · 0.45

Tested by

no test coverage detected