Function: extractListData()
ts
function extractListData<T>(response): ListResponse<T>;Extracts list data from a response object. 从响应对象中提取列表数据。
Type Parameters
| Type Parameter |
|---|
T |
Parameters
| Parameter | Type | Description |
|---|---|---|
response | | { data?: unknown; } | null | undefined | Response with optional data field / 可能包含 data 字段的响应 |
Returns
ListResponse<T>
Normalized list response / 归一化后的列表响应
Since
1.3.0