mirror of
https://github.com/facebook/react.git
synced 2026-02-26 18:58:05 +00:00
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