mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
fe2cb52554
Sometimes you need to use casts, eg: https://github.com/DefinitelyTyped/DefinitelyTyped/issues/28884#issuecomment-471341041. This change ignores them and allows you to still omit the ref object from the deps list. Test Plan: unit tests