UNPKG
mobx-utils
Version:
beta (6.0.0-rc.1)
latest (6.1.0)
mobx5 (5.6.2)
6.1.0
6.0.8
6.0.7
6.0.6
6.0.5
6.0.4
6.0.3
6.0.1
6.0.0
6.0.0-rc.1
5.6.2
5.6.1
5.6.0
5.5.7
5.5.6
5.5.5
5.5.4
5.5.3
5.5.2
5.5.1
5.5.0
5.4.1
5.4.0
5.3.0
5.2.0
5.1.0
5.0.4
5.0.3
5.0.2
5.0.1
5.0.0
4.0.1
4.0.0
4.0.0-beta.2
3.2.2
3.2.1
3.2.0
3.2.0-rc.4
3.2.0-rc.3
3.2.0-rc.2
3.2.0-rc.1
3.1.1
3.0.0
2.0.2
2.0.1
2.0.0
2.0.0-fix26
1.1.6
1.1.5
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0
1.0.1
1.0.0
0.1.3
0.1.2
0.1.1
Utility functions and common patterns for MobX
github.com/mobxjs/mobx-utils
mobxjs/mobx-utils
mobx-utils
/
lib
/
keep-alive.d.ts
5 lines
(4 loc)
•
242 B
TypeScript
View Raw
1
2
3
4
5
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
;