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

Function createNgModuleDef

packages/core/test/render3/deps_tracker_spec.ts:1395–1403  ·  view source on GitHub ↗
(data: Partial<NgModuleDef<any>>)

Source from the content-addressed store, hash-verified

1393});
1394
1395function createNgModuleDef(data: Partial<NgModuleDef<any>>): NgModuleDef<any> {
1396 return {
1397 bootstrap: [],
1398 declarations: [],
1399 exports: [],
1400 imports: [],
1401 ...data,
1402 } as NgModuleDef<any>;
1403}

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected