From be0d498c0ebca42e717126f8d76cb25a2ed0251f Mon Sep 17 00:00:00 2001
From: Zhousg <zhousg1007@qq.com>
Date: Wed, 17 May 2023 14:03:15 +0800
Subject: [PATCH] docs(Coupon): fix docs type (#11865)

---
 packages/vant/src/coupon-list/README.md       | 8 ++++----
 packages/vant/src/coupon-list/README.zh-CN.md | 8 ++++----
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/packages/vant/src/coupon-list/README.md b/packages/vant/src/coupon-list/README.md
index dc167b4fc..0a099792c 100644
--- a/packages/vant/src/coupon-list/README.md
+++ b/packages/vant/src/coupon-list/README.md
@@ -105,8 +105,8 @@ export default {
 | --- | --- | --- | --- |
 | v-model | Current exchange code | _string_ | - |
 | chosen-coupon | Index of chosen coupon | _number_ | `-1` |
-| coupons | Coupon list | _Coupon[]_ | `[]` |
-| disabled-coupons | Disabled coupon list | _Coupon[]_ | `[]` |
+| coupons | Coupon list | _CouponInfo[]_ | `[]` |
+| disabled-coupons | Disabled coupon list | _CouponInfo[]_ | `[]` |
 | enabled-title | Title of coupon list | _string_ | `Available` |
 | disabled-title | Title of disabled coupon list | _string_ | `Unavailable` |
 | exchange-button-text | Exchange button text | _string_ | `Exchange` |
@@ -134,7 +134,7 @@ export default {
 | list-footer          | Coupon list bottom              |
 | disabled-list-footer | Unavailable coupons list bottom |
 
-### Data Structure of Coupon
+### Data Structure of CouponInfo
 
 | Key         | Description                         | Type     |
 | ----------- | ----------------------------------- | -------- |
@@ -154,7 +154,7 @@ export default {
 The component exports the following type definitions:
 
 ```ts
-import type { CouponCellProps, CouponListProps } from 'vant';
+import type { CouponCellProps, CouponListProps, CouponInfo } from 'vant';
 ```
 
 ## Theming
diff --git a/packages/vant/src/coupon-list/README.zh-CN.md b/packages/vant/src/coupon-list/README.zh-CN.md
index 7e0dddc84..ee02795a4 100644
--- a/packages/vant/src/coupon-list/README.zh-CN.md
+++ b/packages/vant/src/coupon-list/README.zh-CN.md
@@ -105,8 +105,8 @@ export default {
 | --- | --- | --- | --- |
 | v-model:code | 当前输入的兑换码 | _string_ | - |
 | chosen-coupon | 当前选中优惠券的索引 | _number_ | `-1` |
-| coupons | 可用优惠券列表 | _Coupon[]_ | `[]` |
-| disabled-coupons | 不可用优惠券列表 | _Coupon[]_ | `[]` |
+| coupons | 可用优惠券列表 | _CouponInfo[]_ | `[]` |
+| disabled-coupons | 不可用优惠券列表 | _CouponInfo[]_ | `[]` |
 | enabled-title | 可用优惠券列表标题 | _string_ | `可使用优惠券` |
 | disabled-title | 不可用优惠券列表标题 | _string_ | `不可使用优惠券` |
 | exchange-button-text | 兑换按钮文字 | _string_ | `兑换` |
@@ -136,7 +136,7 @@ export default {
 | list-footer          | 优惠券列表底部       |
 | disabled-list-footer | 不可用优惠券列表底部 |
 
-### Coupon 数据结构
+### CouponInfo 数据结构
 
 | 键名        | 说明                            | 类型     |
 | ----------- | ------------------------------- | -------- |
@@ -156,7 +156,7 @@ export default {
 组件导出以下类型定义:
 
 ```ts
-import type { CouponCellProps, CouponListProps } from 'vant';
+import type { CouponCellProps, CouponListProps, CouponInfo } from 'vant';
 ```
 
 ## 主题定制