mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-10 22:45:24 +08:00
Summary: When class A declares a ReactProp method foo() and class B that extends from A overrides foo(), it loses the annotation so it has to be duplicated. To allow "inheriting" annotation on Override, we need to scan parent class methods for annotation as well. This diff implements the required logic. public Reviewed By: dkoroskin Differential Revision: D2818278 fb-gh-sync-id: 7e9ae728cc70ce2345db7bc48b3857a0e91c4ca3