Make height/width optional as well
This commit is contained in:
parent
87f6f3f27e
commit
4e01a6c200
1 changed files with 16 additions and 13 deletions
|
|
@ -327,9 +327,9 @@ export interface McpUiHostContext {
|
|||
/** @description Current and maximum dimensions available to the UI. */
|
||||
viewport?: {
|
||||
/** @description Current viewport width in pixels. */
|
||||
width: number;
|
||||
width?: number;
|
||||
/** @description Current viewport height in pixels. */
|
||||
height: number;
|
||||
height?: number;
|
||||
/** @description Maximum available height in pixels (if constrained). */
|
||||
maxHeight?: number;
|
||||
/** @description Maximum available width in pixels (if constrained). */
|
||||
|
|
|
|||
Loading…
Reference in a new issue