DefinitelyTyped/types/recompose
Curtis Layne b6cb635c6e [recompose] Fixes many serious issues with recompose types (#18496)
The current iteration of recompose types have two issues:

1) Only a handful of HOCs infer required props from their children.
2) Even when an HOC does infer props from its children, it does not remove
requirements for props it injects.

This leads to the parent component rendering a wrapped commponent to not
realize that props an HOC is injecting have already been handled and
leads to a lot of typing issues.

This PR updates a lot of the types to infer injected types and remove /
partial them from the required props list that are passed to their
parent.

Due to a couple of typing issues in the TS language itself there are
some missing pieces, namely compose cannot currently be typed. This PR,
however, makes huge strides in correcting and inferring types in recompose.
2017-07-31 13:48:04 -07:00
..
index.d.ts [recompose] Fixes many serious issues with recompose types (#18496) 2017-07-31 13:48:04 -07:00
recompose-tests.tsx [recompose] Fixes many serious issues with recompose types (#18496) 2017-07-31 13:48:04 -07:00
tsconfig.json