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
/
dts
/
array
/
ArrayReducer.d.ts
7 lines
(6 loc)
•
219 B
TypeScript
View Raw
1
2
3
4
5
6
7
import
{
type
MaybeWrapped
}
from
"../utility"
;
/** *
@since
0.0.1 *
@category
Array
*/
export
type
ArrayReducer
<T, R> =
(
previousValue
: R,
currentValue
: T,
currentIndex
:
number
,
array
:
Array
<
MaybeWrapped
<T>>
) =>
R;