angular/packages/core
Paul Gschwendtner 4e2f0b7f0d test(core): add type signature test for signal input API (#53571)
Adds tests that allow us to ensure that the `input` API works as
expected and that resulting return types match our expectations- without
silently regressing in the future, or missing potential edge-cases.

Testing signatures is hard because of covariance and contravariance,
especially when it comes to the different semantics of `ReadT` and
`WriteT` of input signals. We enable reliable testing by validating the
`d.ts` of the "fake directive class". This ensures clear results,
compared to relying on e.g. type assertions that might
accidentally/silently pass due to covariance/contravariance or
biavariance in the type system.

PR Close #53571
2024-01-04 12:07:13 -08:00
..
global build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
primitives/signals refactor(core): expose SIGNAL_NODE to allow for advanced extensions of signals (#53571) 2024-01-04 12:07:12 -08:00
reference-manifests build: add target to generate api manifest (#52472) 2023-11-02 11:00:59 -07:00
rxjs-interop fix(core): add rejectErrors option to toSignal (#52474) 2023-10-31 14:59:26 -07:00
schematics fix(migrations): cf migration - detect and error when result is invalid i18n nesting (#53638) 2023-12-19 11:01:57 -08:00
src refactor(core): type EMPTY_OBJ as never for improved type safety (#53571) 2024-01-04 12:07:13 -08:00
test test(core): add type signature test for signal input API (#53571) 2024-01-04 12:07:13 -08:00
testing refactor(core): Use NoopNgZone in componentFixture (#53670) 2024-01-03 11:28:08 -08:00
BUILD.bazel refactor(docs-infra): build adev application using local generated assets (#53511) 2023-12-20 14:49:31 -08:00
index.ts refactor(core): made comment structure consistent in index.ts (#43684) 2021-10-21 18:39:58 +00:00
package.json build: update node.js engines version to be more explicate about v20 support (#52448) 2023-10-31 14:18:36 -07:00
PACKAGE.md docs: add package doc files (#26047) 2018-10-05 15:42:14 -07:00
public_api.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00