mirror of https://gitee.com/antv-l7/antv-l7
feat: 去除 Control options 多余类型导致的 Omit 失效问题 (#1586)
Co-authored-by: yanxiong <oujinhui.ojh@antgroup.com>
This commit is contained in:
parent
9661646ef2
commit
f863001e9d
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue