mirror of
https://github.com/cypress-io/cypress.git
synced 2026-01-07 06:59:49 -06:00
* 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>