fix: attr name in IPublicTypePanelDockConfig should not be optional

This commit is contained in:
LeoYuan 袁力皓 2023-05-04 17:02:17 +08:00 committed by 林熠
parent 57889d5ad0
commit 9a68f0f27c

View File

@ -25,7 +25,7 @@ export interface IPublicTypePanelDockConfig extends IPublicTypeWidgetBaseConfig
props?: IPublicTypePanelDockProps; props?: IPublicTypePanelDockProps;
/** 面板 name, 当没有 props.title 时, 会使用 name 作为标题 */ /** 面板 name, 当没有 props.title 时, 会使用 name 作为标题 */
name?: string; name: string;
} }
export interface IPublicTypePanelDockProps { export interface IPublicTypePanelDockProps {