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2
3.0.1
3.0.0
React bindings for MobX. Create fully reactive components.
mobx.js.org
mobxjs/mobx
mobx-react
/
dist
/
observer.d.ts
7 lines
(6 loc)
•
291 B
TypeScript
View Raw
1
2
3
4
5
6
7
import
{
IReactComponent
}
from
"./types/IReactComponent"
;
/** * Observer function / decorator */
export
declare
function
observer<T
extends
IReactComponent
>(
component
: T,
context
:
ClassDecoratorContext
):
void
;
export
declare
function
observer<T
extends
IReactComponent
>(
component
: T): T;