feat: 去除 Control options 多余类型导致的 Omit 失效问题 (#1586)

Co-authored-by: yanxiong <oujinhui.ojh@antgroup.com>
This commit is contained in:
heiyexing 2023-02-07 12:08:39 +08:00 committed by GitHub
parent 9661646ef2
commit f863001e9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -24,12 +24,12 @@ export interface IControlOption {
position: PositionName | Element;
className?: string;
style?: string;
[key: string]: any;
}
export default class Control<O extends IControlOption = IControlOption>
extends EventEmitter<ControlEvent>
implements IControl<O> {
implements IControl<O>
{
/**
*
* @protected