mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-05 22:35:56 +08:00
TypeScript already includes `ref` properties when necessary through the use of `JSX.IntrinsicClassAttributes` (which is more or less just an alias of `React.ClassAttributes<T>` inside of React's declaration files). Our understanding is that having these declarations caused problems in assignability in scenarios where the 'ref' key in props were not assignable in odd ways.