From 77745ab053fe57b807b09e895f57c0b678e06714 Mon Sep 17 00:00:00 2001 From: neverland Date: Sat, 22 Jun 2024 19:33:28 +0800 Subject: [PATCH] types(Uploader): export afterRead function type (#12961) --- packages/vant/src/uploader/README.md | 2 ++ packages/vant/src/uploader/README.zh-CN.md | 2 ++ packages/vant/src/uploader/index.ts | 2 ++ 3 files changed, 6 insertions(+) diff --git a/packages/vant/src/uploader/README.md b/packages/vant/src/uploader/README.md index 0d73ff3e0..d54d68e33 100644 --- a/packages/vant/src/uploader/README.md +++ b/packages/vant/src/uploader/README.md @@ -404,6 +404,8 @@ import type { UploaderInstance, UploaderResultType, UploaderFileListItem, + UploaderBeforeRead, + UploaderAfterRead, } from 'vant'; ``` diff --git a/packages/vant/src/uploader/README.zh-CN.md b/packages/vant/src/uploader/README.zh-CN.md index 89e92bbae..26ad05982 100644 --- a/packages/vant/src/uploader/README.zh-CN.md +++ b/packages/vant/src/uploader/README.zh-CN.md @@ -427,6 +427,8 @@ import type { UploaderInstance, UploaderResultType, UploaderFileListItem, + UploaderBeforeRead, + UploaderAfterRead, } from 'vant'; ``` diff --git a/packages/vant/src/uploader/index.ts b/packages/vant/src/uploader/index.ts index e86c1f288..27f219505 100644 --- a/packages/vant/src/uploader/index.ts +++ b/packages/vant/src/uploader/index.ts @@ -10,6 +10,8 @@ export type { UploaderThemeVars, UploaderResultType, UploaderFileListItem, + UploaderBeforeRead, + UploaderAfterRead, } from './types'; declare module 'vue' {