Files
cypress/cli/types
Akshat Rajvanshi 45cff01df7 misc: ensure 'its' function type excludes null and undefined (#28872) (#28904)
* refactor: ensure 'its' function type excludes null and undefined (#28872)

This fix addresses an issue where the 'its' function could return null or undefined, causing unexpected behavior in certain scenarios. The change introduces a more robust type check to ensure that the returned value is always non-null and non-undefined.

* resolve linting issues related to TypeScript types

* Update changelog

* resolved lint errors

* Update cli/types/cypress.d.ts

Co-authored-by: Ryan Manuel <ryanm@cypress.io>

* Update cli/types/cypress.d.ts

* move to correct changelog entry

---------

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
2024-04-23 12:38:02 -04:00
..