Skip to content

随意的几个事情 #1

@100pah

Description

@100pah

不知道说得有没有意义(因为这个事理解得比较浅):
接口描述中,是不是除了基本类型以外还应该支持这些:
date blob typedarray image canvas 等,理想情况应该支持能传。

在需要精确的场景下(比如需要生成参数检测代码的场景), isRequired 的描述能力会不会有点尴尬。比如会有这样情况,有些参数,在另外的参数存在时必须,不存在时可选,存在依赖。

type 类型为 function 时,怎么描述参数和返回值。比较递归。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions