提交 2791558b 编写于 作者: D Daniel Imms

Make dimensions and maximumDimensions nullable

Fixes #53055
上级 0ec5face
......@@ -399,7 +399,7 @@ declare module 'vscode' {
* };
* ```
*/
dimensions: TerminalDimensions;
dimensions: TerminalDimensions | undefined;
/**
* The maximum dimensions of the terminal, this will be undefined immediately after a
......@@ -407,7 +407,7 @@ declare module 'vscode' {
* Listen to [onDidChangeMaximumDimensions](TerminalRenderer.onDidChangeMaximumDimensions)
* to get notified when this value changes.
*/
readonly maximumDimensions: TerminalDimensions;
readonly maximumDimensions: TerminalDimensions | undefined;
/**
* The corressponding [Terminal](#Terminal) for this TerminalRenderer.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册