mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
If an imported name is hook-like but a type provider provides a non-hook type, we now override the returned value and treat it as a generic custom hook. This is meant as an extra check to prevent miscompilation. [ghstack-poisoned]