Skip to content

[BUG] <title> 去掉默认生成的 async #477

@zwmmm

Description

@zwmmm

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

当对接 alova 的时候,因为 alova instance 返回的不是 promise,导致类型提示报错,实际上请求函数的返回值应该由自定义的 request 控制,没必要强制生成 async 函数

Expected Behavior

No response

Steps To Reproduce

  1. openapi-ts-request

Environment

- OS:

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions