mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
In general, we can't assume all applications implement the full `ng` contract as many are older Angular application which pre-date the current interface. As a result, it is safer to type this as a `Partial`. For now, I just added non-null assertions at all current usage locations, as we do generally feature detect before using these fields. However, hopefully this `Partial` type will make it harder to accidentally call a function which might not be supported. PR Close #60209 |
||
|---|---|---|
| .. | ||
| BUILD.bazel | ||
| ng-debug-api.spec.ts | ||
| ng-debug-api.ts | ||