angular/packages/compiler-cli/test/compliance/test_cases/output_function
Matthieu Riegler 03db2aefaa fix(compiler): throw on duplicate input/outputs
inputs & outputs cannot be binded to 2 different directives/components properties

Eg
```
data = model();
dataChange = output(); // throws because model already emits on the `dataChange` output

userSomething = input({alias 'user'});
user = input(); // throws because userSomething already binds to the `user` input
````

fixes #65844

BREAKING CHANGE: The compiler will throw when there a when inputs, outputs or model are binding to the same input/outputs.
2026-02-26 13:47:37 -08:00
..
GOLDEN_PARTIAL.js fix(compiler): throw on duplicate input/outputs 2026-02-26 13:47:37 -08:00
mixed_variants.js fix(compiler): throw on duplicate input/outputs 2026-02-26 13:47:37 -08:00
mixed_variants.ts fix(compiler): throw on duplicate input/outputs 2026-02-26 13:47:37 -08:00
output_in_component.js test(compiler): switch compliance tests to es2022 2026-01-02 08:29:12 +01:00
output_in_component.ts refactor(compiler): update compliance tests. (#58238) 2024-10-24 12:44:12 -07:00
output_in_directive.js test(compiler): switch compliance tests to es2022 2026-01-02 08:29:12 +01:00
output_in_directive.ts refactor(compiler): update compliance tests. (#58238) 2024-10-24 12:44:12 -07:00
TEST_CASES.json test: add compliance output tests for output() (#54217) 2024-02-05 15:08:34 +00:00