mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-05 16:38:05 -06:00
* Handle type guard predicates on `Array<T>.find` If the `predicate` function passed to `Array<T>.find` or `ReadonlyArray<T>.find` is a type guard narrowing `value` to type `S`, then any returned element should also be narrowed to `S`. Adding test case and associated baselines * trailing whitespace after merge conflict