Skip to content

Commit 9a68f0f

Browse files
LeoYuanJackLian
authored andcommitted
fix: attr name in IPublicTypePanelDockConfig should not be optional
1 parent 57889d5 commit 9a68f0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/types/src/shell/type/widget-base-config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export interface IPublicTypePanelDockConfig extends IPublicTypeWidgetBaseConfig
2525
props?: IPublicTypePanelDockProps;
2626

2727
/** 面板 name, 当没有 props.title 时, 会使用 name 作为标题 */
28-
name?: string;
28+
name: string;
2929
}
3030

3131
export interface IPublicTypePanelDockProps {

0 commit comments

Comments
 (0)