angular/packages
Kristiyan Kostadinov c2d376b85a feat(core): make SimpleChanges generic (#64535)
Currently it's easy to make a mistake when accessing properties on `SimpleChanges`, because the keys aren't typed. These changes add an optional generic to the interface so that users can get a compilation error if they make a typo.

A few things to note:
1. The generic argument is optional and we revert to the old behavior if one isn't passed for backwards compatibility.
2. All of the keys are optional, because they aren't guaranteed to be present for any `ngOnChanges` invocation.
3. We unwrap the values of input signals to match the behavior at runtime.

Fixes #17560.

PR Close #64535
2025-10-20 17:49:39 +00:00
..
animations fix(core): prevent animations renderer from impacting animate.leave (#63921) 2025-09-19 21:26:18 +00:00
benchpress docs(benchpress): Remove TODOs in Statistic (#63534) 2025-09-15 20:36:17 +00:00
common Revert "refactor(core): add debug name to resource (#64172)" (#64418) 2025-10-14 14:28:16 -07:00
compiler fix(compiler): correctly compile long numeric HTML entities (#64297) 2025-10-17 18:23:44 +00:00
compiler-cli Revert "fix(compiler-cli): missingStructuralDirective diagnostic produces false negatives (#64470)" (#64541) 2025-10-20 14:39:18 +00:00
core feat(core): make SimpleChanges generic (#64535) 2025-10-20 17:49:39 +00:00
docs/di
elements fix(elements): return value on signal input getter (#62113) 2025-10-01 13:52:34 -04:00
examples refactor(common): sync examples with Angular style guide (#64167) 2025-10-13 08:29:44 -07:00
forms feat(core): make SimpleChanges generic (#64535) 2025-10-20 17:49:39 +00:00
language-service build: remove unneeded language-service dependency (#64306) 2025-10-09 10:00:31 -07:00
localize build: update all non-major dependencies (#63661) 2025-09-10 07:11:54 -07:00
misc/angular-in-memory-web-api refactor(core): remove unnecessary deps arrays (#63823) 2025-09-16 16:51:52 +00:00
platform-browser refactor(platform-browser): remove unecessary export. (#64469) 2025-10-16 18:52:54 +00:00
platform-browser-dynamic refactor(core): Update tests for zoneless by default (#63668) 2025-09-09 14:41:56 -07:00
platform-server refactor(platform-server): use URL constructor for robust parsing (#64494) 2025-10-17 18:17:15 +00:00
private/testing build: rename defaults2.bzl to defaults.bzl (#63383) 2025-08-25 15:45:01 -07:00
router refactor(router): Use promise array for loadComponent (#64450) 2025-10-20 17:11:23 +00:00
service-worker docs: update service worker documentation with additional references (#64353) 2025-10-15 10:47:48 -07:00
ssr/docs build: rename defaults2.bzl to defaults.bzl (#63383) 2025-08-25 15:45:01 -07:00
upgrade feat(core): Allow passing application providers in bootstrapModule options (#64354) 2025-10-13 15:10:10 -07:00
zone.js build: update all non-major dependencies (#64514) 2025-10-20 16:13:17 +00:00
BUILD.bazel build: configure signal forms for release (#63458) 2025-08-29 14:31:35 -07:00
circular-deps-test.conf.js docs(docs-infra): lift circular imports (#63186) 2025-08-19 07:58:45 +00:00
empty.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
goog.d.ts refactor: update license text to point to angular.dev (#57901) 2024-09-24 15:33:00 +02:00
license-banner.txt docs: update website URL in license banners (#64183) 2025-10-02 07:56:58 -07:00
package.json build: prepare for compiler-cli to be using ts_project (#61181) 2025-05-09 15:59:46 +00:00
README.md docs: fix links to docs (#57391) 2024-08-19 09:20:15 -07:00
system.d.ts refactor: update packages/core:{core,src} to ts_project (#61275) 2025-05-14 12:01:51 +00:00
tsconfig-build.json build: adopt moduleResolution: "bundler" (#64125) 2025-09-29 14:20:23 -04:00
tsconfig-legacy-saucelabs.json feat(core): support TypeScript 5.5 (#56096) 2024-05-29 15:33:33 +02:00
tsconfig-test.json
tsconfig.json feat(compiler-cli): enable type checking of host bindings by default (#63654) 2025-09-09 14:34:29 -07:00
tsec-exemption.json
types.d.ts build: move private testing helpers outside platform-browser/testing (#61472) 2025-05-20 10:00:43 +00:00

Angular

The sources for this package are in the main Angular repo. Please file issues and pull requests against that repo.

Usage information and reference details can be found in Angular documentation.

License: MIT