UNPKG

mobx-utils

Version:

Utility functions and common patterns for MobX

5 lines (4 loc) 242 B
import { IComputedValue } from "mobx"; import { IDisposer } from "./utils"; export declare function keepAlive(target: Object, property: string): IDisposer; export declare function keepAlive(computedValue: IComputedValue<any>): IDisposer;