mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
When the compiler generates a reference to an exported variable in the same file, it inserts a synthetic ts.Identifier node. In CommonJS output, this synthetic node would not be properly rewritten with an `exports.` prefix. This change sets the TS original node property on the synthetic node we generate, which ensures TS knows to rewrite it in CommonJS output. PR Close #22564 |
||
|---|---|---|
| .. | ||
| diagnostics | ||
| metadata | ||
| transformers | ||
| extract_i18n_spec.ts | ||
| mocks.ts | ||
| ngc_spec.ts | ||
| ngtools_api_spec.ts | ||
| perform_watch_spec.ts | ||
| test_support.ts | ||