Nozbe / withObservables

HOC (Higher-Order Component) for connecting RxJS Observables to React Components
https://github.com/Nozbe/WatermelonDB
MIT License
68 stars 26 forks source link

Where is ObservablifyProps Typescript type defined? #71

Closed bogdancochioras-clarisoft closed 5 years ago

bogdancochioras-clarisoft commented 5 years ago

From the documentation it says there is this helper type ObservablifyProps but did not find any reference of it in the module and is not a Typescript default type.

radex commented 5 years ago

@jamieparkinson can you answer this question?

jamieparkinson commented 5 years ago

It's here https://github.com/Nozbe/withObservables/blob/master/index.d.ts#L18, you can import it like

import { ObservablifyProps } from "@nozbe/withObservables";
bogdancochioras-clarisoft commented 5 years ago

Hmm I don’t know how I missed it, maybe I had an older version locally or had a typo when searching for it, thanks!