From 661de3eaa45077286bbb427bef0644ff7229d646 Mon Sep 17 00:00:00 2001 From: lexmin0412 Date: Mon, 21 Oct 2024 14:23:53 +0800 Subject: [PATCH] =?UTF-8?q?optimize:=20=E5=AF=BC=E5=87=BA=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E9=80=89=E9=A1=B9=E5=8F=82=E6=95=B0=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E4=B8=BA=E5=8F=AF=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/types/api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types/api.ts b/src/types/api.ts index 6d48e5b..bca719f 100644 --- a/src/types/api.ts +++ b/src/types/api.ts @@ -228,7 +228,7 @@ type IExportOpenApiOptions = { /** * 导出 API 接口的函数 */ -export type IExportOpenApiType = (options: IExportOpenApiOptions) => Promise +export type IExportOpenApiType = (options?: IExportOpenApiOptions) => Promise /** * 包含高级选项及其值的用于导入过程的对象。