mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00: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. |
||
|---|---|---|
| .. | ||
| animated.tsx | ||
| index.tsx | ||
| init-example.tsx | ||