UNPKG
react-native-onyx
Version:
latest (2.0.109)
2.0.109
2.0.108
2.0.107
2.0.106
2.0.105
2.0.104
2.0.103
2.0.102
2.0.101
2.0.100
2.0.99
2.0.98
2.0.97
2.0.96
2.0.95
2.0.94
2.0.93
2.0.92
2.0.91
2.0.90
2.0.89
2.0.88
2.0.87
2.0.86
2.0.85
2.0.84
2.0.83
2.0.82
2.0.81
2.0.80
2.0.79
2.0.78
2.0.77
2.0.76
2.0.75
2.0.74
2.0.73
2.0.72
2.0.71
2.0.70
2.0.69
2.0.68
2.0.67
2.0.66
2.0.65
2.0.64
2.0.63
2.0.62
2.0.61
2.0.60
2.0.59
2.0.58
2.0.57
2.0.56
2.0.55
2.0.54
2.0.53
2.0.52
2.0.51
2.0.50
2.0.49
2.0.48
2.0.47
2.0.46
2.0.45
2.0.44
2.0.43
2.0.42
2.0.41
2.0.40
2.0.39
2.0.38
2.0.37
2.0.36
2.0.35
2.0.34
2.0.33
2.0.32
2.0.31
2.0.30
2.0.29
2.0.28
2.0.27
2.0.26
2.0.25
2.0.24
2.0.23
2.0.22
2.0.21
2.0.20
2.0.19
2.0.18
2.0.17
2.0.16
2.0.15
2.0.14
2.0.13
2.0.12
2.0.11
2.0.10
2.0.9
2.0.8
2.0.7
2.0.6
2.0.5
2.0.4
2.0.3
2.0.2
2.0.1
1.0.131
1.0.130
1.0.129
1.0.128
1.0.127
1.0.126
1.0.125
1.0.124
1.0.123
1.0.122
1.0.121
1.0.120
1.0.119
1.0.118
1.0.118-1
1.0.117
1.0.116
1.0.115
1.0.114
1.0.113
1.0.112
1.0.111
1.0.110
1.0.109
1.0.108
1.0.107
1.0.106
1.0.105
1.0.104
1.0.103
1.0.102
1.0.101
1.0.100
1.0.99
1.0.98
1.0.97
1.0.96
1.0.95
1.0.94
1.0.93
1.0.92
1.0.91
1.0.90
1.0.89
1.0.88
1.0.87
1.0.86
1.0.84
1.0.83
1.0.82
1.0.81
1.0.80
1.0.79
1.0.78
1.0.77
1.0.76
1.0.75
1.0.74
1.0.73
1.0.72
1.0.71
1.0.70
1.0.69
1.0.68
1.0.67
1.0.66
1.0.65
1.0.64
1.0.63
1.0.62
1.0.61
1.0.60
1.0.59
1.0.58
1.0.57
1.0.56
1.0.55
1.0.54
1.0.53
1.0.52
1.0.51
1.0.50
1.0.49
1.0.48
1.0.47
1.0.46
1.0.45
1.0.44
1.0.43
1.0.42
1.0.41
1.0.40
1.0.39
1.0.38
1.0.37
1.0.36
1.0.35
1.0.34
1.0.33
1.0.32
1.0.31
1.0.30
1.0.29
1.0.28
1.0.27
1.0.26
1.0.25
1.0.24
1.0.23
1.0.22
1.0.21
1.0.20
1.0.19
1.0.18
1.0.17
1.0.16
1.0.15
1.0.14
1.0.13
1.0.12
1.0.11
1.0.10
1.0.9
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
State management for React Native
expensify.com
Expensify/react-native-onyx
react-native-onyx
/
dist
/
metrics.d.ts
9 lines
(8 loc)
•
276 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
/** * Wraps a function with metrics capturing logic */
declare
function
decorateWithMetrics<
Args
extends
unknown
[],
ReturnType
>(
func
:
(
...
args
:
Args
) =>
ReturnType
,
alias
?:
string
): { (...
args
:
Args
):
ReturnType
;
name
:
string
; };
export
default
decorateWithMetrics;