Skip to content

Select mode属性类型声明和文档不一致 #7713

@hzlzsm

Description

@hzlzsm
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

4.2.3

Environment

browser

Reproduction link

https://next.antdv.com/components/select-cn#api

Steps to reproduce

文档中mode的属性值为'multiple' | 'tags' | 'combobox',ts声明中为"multiple" | "tags" | "SECRET_COMBOBOX_MODE_DO_NOT_USE"

What is expected?

ts正确

What is actually happening?

ts报错了

image
image
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions