fix return type declaration of proposeDimensions

This commit is contained in:
Jörg Breitbart
2022-07-01 00:22:45 +02:00
parent 261209cab6
commit d05cfcd6a7
+1 -1
View File
@@ -35,7 +35,7 @@ declare module 'xterm-addon-fit' {
/**
* Gets the proposed dimensions that will be used for a fit.
*/
public proposeDimensions(): ITerminalDimensions;
public proposeDimensions(): ITerminalDimensions | undefined;
}
/**