angular/packages/compiler-cli/test/compliance/test_cases/signal_inputs
Paul Gschwendtner b78042f3a5 refactor(core): separate InputSignal and InputSignalWithTransform (#54053)
This commit separates `InputSignal` for input signals with transforms.
The reason being that most of the time, signal inputs are not using
transforms and the generics are rather confusing.

Especially for users with inferred types displayed in their IDEs, the
input signal types are seemingly complex, even if no transform is used.

For this reason, we are introducing a new type called
`InputSignalWithTransform`. This type will be used for inputs with
transforms, while non-transform inputs just use `InputSignal`.

A notable fact is that `InputSignal` extends `InputSignalWithTransform`,
with the "identity transform". i.e. there is no transform. This allows
us to share the code for input signals. In practice, we don't expect
users to pass around `InputSignal`'s anyway.

PR Close #54053
2024-01-26 19:10:56 +00:00
..
complex_transform_functions.js test: add signal input compliance tests for linking, partial output and full compilations (#53808) 2024-01-10 12:21:05 +00:00
complex_transform_functions.ts test: add signal input compliance tests for linking, partial output and full compilations (#53808) 2024-01-10 12:21:05 +00:00
GOLDEN_PARTIAL.js refactor(core): separate InputSignal and InputSignalWithTransform (#54053) 2024-01-26 19:10:56 +00:00
input_component_definition.js test: add signal input compliance tests for linking, partial output and full compilations (#53808) 2024-01-10 12:21:05 +00:00
input_component_definition.ts test: add signal input compliance tests for linking, partial output and full compilations (#53808) 2024-01-10 12:21:05 +00:00
input_directive_definition.js test: add signal input compliance tests for linking, partial output and full compilations (#53808) 2024-01-10 12:21:05 +00:00
input_directive_definition.ts test: add signal input compliance tests for linking, partial output and full compilations (#53808) 2024-01-10 12:21:05 +00:00
mixed_input_types.js test: add signal input compliance tests for linking, partial output and full compilations (#53808) 2024-01-10 12:21:05 +00:00
mixed_input_types.ts test: add signal input compliance tests for linking, partial output and full compilations (#53808) 2024-01-10 12:21:05 +00:00
TEST_CASES.json test: add signal input compliance tests for linking, partial output and full compilations (#53808) 2024-01-10 12:21:05 +00:00
transform_not_captured.js test: add signal input compliance tests for linking, partial output and full compilations (#53808) 2024-01-10 12:21:05 +00:00
transform_not_captured.ts test: add signal input compliance tests for linking, partial output and full compilations (#53808) 2024-01-10 12:21:05 +00:00