DefinitelyTyped/types/react/test
Eloy Durán 67fdf14c90
[react] Port ElementRef utility type from Flow (#43201)
* [react] Port ElementRef utility type from Flow

https://flow.org/en/docs/react/types/#toc-react-elementref

* [react] Use least amount of required typing

* [react] Support forwarded refs with ElementRef

* [react] Use correct function component return type

* [react] Add ElementRef test for memoized ref forwarding component

* [react] Add ElementRef test for lazy component

* [react] Match function components with props

* [react] Fix test-case by moving type around

* [react] Fix flaky test-case

* [recharts] Remove deprecated CSS properties

These have been removed from `lib.dom.d.ts`:
https://github.com/microsoft/TypeScript/pull/37464/files#r395692943
2020-03-20 13:44:04 -04:00
..
cssProperties.tsx
elementAttributes.tsx
experimental.tsx
hooks.tsx
index.ts
managedAttributes.tsx
tsx.tsx