SIGN IN SIGN UP
facebook / react-native UNCLAIMED

A framework for building native applications using React

0 0 0 C++

Fix Flow types for performance.measure (#52431)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/52431

Changelog: [internal]

`performance.measure` supports passing mark names as `start` and `end` options, so this fixes the Flow type before fixing the actual implementation.

It also makes it so you can't specify both `end` and `duration`, enforced by the type system.

Reviewed By: huntie

Differential Revision: D77795991

fbshipit-source-id: e89f509c7efc2fa49d17d79bc19bc1d14e007871
R
Rubén Norte committed
34201d8387a6f126dd14aa849e988de6d044b2e6
Parent: 2edda6d
Committed by Facebook GitHub Bot <[email protected]> on 7/7/2025, 1:42:23 PM