SuccessResult<T>
Defined in: type-definition/result-types.ts:7
成功结果接口,包含成功时返回的数据
Type Parameters
| Type Parameter | Default type | Description |
|---|---|---|
T | any | 成功数据类型,默认为 any |
Properties
data
data: T;
Defined in: type-definition/result-types.ts:9
成功时返回的数据
<T>Defined in: type-definition/result-types.ts:7
成功结果接口,包含成功时返回的数据
| Type Parameter | Default type | Description |
|---|---|---|
T | any | 成功数据类型,默认为 any |
data: T;
Defined in: type-definition/result-types.ts:9
成功时返回的数据