SIGN IN SIGN UP
facebook / react-native UNCLAIMED

A framework for building native applications using React

0 0 0 C++

Pre-suppress errors for improved typing of `Array.{includes,indexOf,lastIndexOf}` in xplat

Summary:
In Flow 0.284, we will have a stricter version of `Array<T>.includes`. Instead of accepting `mixed`, we will only accept `T` to help catch logical errors. We did the same for `Array.indexOf` and `Array.lastIndexOf` as well.

This diff pre-suppresses newly discovered errors in part of the codebase.

Changelog: [Internal]

Reviewed By: marcoww6

Differential Revision: D82784398

fbshipit-source-id: 6cb11809844f964e0604d33b9f7a3989074cd1cc
S
Sam Zhou committed
7ba64ca0f12238037fcae0426b0641fcb8752f69
Parent: 0e77015
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com> on 9/19/2025, 2:17:14 PM