mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
This commit introduces the `output()` function and corresponding runtime code. In practice, `output()` will defer to `EventEmitter` as outlined in the RFC, but we are considering limiting the type to a minimal version that is not coupled with RxJS, less complex, and also has better type safety around emitting of values. E.g. currently `EventEmitter.emit` can always be called without any value, even though the output may be typed to always pass around values of type `T`. This could cause subtle and confusing bugs. PR Close #54217 |
||
|---|---|---|
| .. | ||
| animation_world | ||
| animations | ||
| animations-standalone | ||
| core_all | ||
| cyclic_import | ||
| defer | ||
| forms_reactive | ||
| forms_template_driven | ||
| hello_world | ||
| hello_world_i18n | ||
| hydration | ||
| image-directive | ||
| injection | ||
| router | ||
| standalone_bootstrap | ||
| todo | ||
| todo_i18n | ||
| README.md | ||
Bundle
js_expected_symbol_test
This folder contains tests which assert that most of the code is tree shaken away. This is asserted by keeping gold files of all symbols which are expected to be retained. When doing renaming it is often necessary to update the gold files; to do so use these scripts:
yarn run symbol-extractor:check
yarn run symbol-extractor:update