ts覆盖父类的定义 发表于 2022-07-19 覆盖有问题,有待更新。 type CopyDropDownProps = { [key in keyof DropDownProps]?: DropDownProps[key] } interface IProps extends CopyDropDownProps { over: string }