UNPKG
@ace-fetch/uni-app
Version:
alpha (0.5.0-alpha.0)
latest (0.11.4)
0.11.4
0.11.3
0.11.2
0.11.1
0.11.0
0.10.0
0.9.2
0.9.1
0.9.0
0.8.2
0.8.0
0.7.2
0.7.0
0.6.2
0.6.1
0.5.5
0.5.3
0.5.1
0.5.0
0.5.0-alpha.0
0.4.1-alpha.0
0.4.0
0.3.2
0.3.1
0.3.0
uni-app adapter for @ace-fetch/core.
aceHubert/ace-fetch
@ace-fetch/uni-app
/
lib
/
core
/
transformData.d.ts
6 lines
(5 loc)
•
293 B
TypeScript
View Raw
1
2
3
4
5
6
import
{
RequestConfig
,
Response
}
from
'@ace-fetch/core'
;
/** * Transform the data for a request or a response */
export
declare
function
transformData
(
this
:
RequestConfig
,
fns
?: ((data:
any
, status?:
number
) =>
any
) |
Array
<(data:
any
, status?:
number
) =>
any
>,
response
?:
Response
):
any
;