refactor(forms): use strict equality for pending status getter

The `pending` getter in `AbstractControl` used loose equality (`==`)
while all other status getters (`valid`, `invalid`, `disabled`) use
strict equality (`===`). Both sides are strings so behavior is
identical, but this inconsistency would fail strict linting rules.
This commit is contained in:
Kam 2026-03-29 13:18:10 +03:00 committed by Pawel Kozlowski
parent 277f9adb74
commit ef7679b7a5

View file

@ -658,7 +658,7 @@ export abstract class AbstractControl<
* false otherwise.
*/
get pending(): boolean {
return this.status == PENDING;
return this.status === PENDING;
}
/**