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

Function resetCompiledComponents

packages/core/src/render3/jit/module.ts:478–483  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

476let verifiedNgModule = new WeakMap<NgModuleType<any>, boolean>();
477
478export function resetCompiledComponents(): void {
479 ownerNgModule = new WeakMap<Type<any>, NgModuleType<any>>();
480 verifiedNgModule = new WeakMap<NgModuleType<any>, boolean>();
481 moduleQueue.length = 0;
482 GENERATED_COMP_IDS.clear();
483}
484
485/**
486 * Computes the combined declarations of explicit declarations, as well as declarations inherited by

Callers 1

resetTestingModuleMethod · 0.85

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected