UNPKG
@cran/lib.vue.ref
Version:
latest (0.2.3)
0.2.3
0.2.2
0.2.1
0.2.0
0.1.2
0.1.1
0.1.0
0.0.1
Vue Reactivity Extensions
@cran/lib.vue.ref
/
src
/
utility
/
MaybeWrapped.ts
11 lines
(8 loc)
•
267 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
import
type
{
MaybeRef
}
from
"./MaybeRef"
;
import
type
{
MaybeThunk
}
from
"./MaybeThunk"
;
/** *
@since
0.0.1 *
@category
Utility
*/
// eslint-disable-next-line @typescript-eslint/no-explicit-any
export
type
MaybeWrapped
<T =
any
> =
MaybeRef
<T> |
MaybeThunk
<T>;