Skip to content

Commit

Permalink
optimize: 导出接口选项参数修改为可选
Browse files Browse the repository at this point in the history
  • Loading branch information
lexmin0412 committed Oct 21, 2024
1 parent fe2b7c3 commit 661de3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ type IExportOpenApiOptions = {
/**
* 导出 API 接口的函数
*/
export type IExportOpenApiType = (options: IExportOpenApiOptions) => Promise<IExportOpenApiResponse>
export type IExportOpenApiType = (options?: IExportOpenApiOptions) => Promise<IExportOpenApiResponse>

/**
* 包含高级选项及其值的用于导入过程的对象。
Expand Down

0 comments on commit 661de3e

Please sign in to comment.