提示:如果我的问题有点不清楚,请道歉,请随时指出如何改进它
好的,所以我有以下类型:
type InputType = 'date' | 'number' | 'textarea' | undefined | null
type InternalAcceptedTypes = 'hidden' | 'readonly' | 'fullsize' | undefined | null
我的目标是创建一个 InternalAcceptedTypes 数组 |输入方式如下:
例子:
我真的不知道如何处理这种情况,因为我一直在使用 Typescript 进行简单的输入,所以欢迎任何建议
谢谢