Merge pull request #2473 from Tyriar/2471

Mark element and textarea APIs as | undefined
This commit is contained in:
Daniel Imms
2019-10-15 16:41:59 -07:00
committed by GitHub
5 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -362,12 +362,12 @@ declare module 'xterm' {
/**
* The element containing the terminal.
*/
readonly element: HTMLElement;
readonly element: HTMLElement | undefined;
/**
* The textarea that accepts input for the terminal.
*/
readonly textarea: HTMLTextAreaElement;
readonly textarea: HTMLTextAreaElement | undefined;
/**
* The number of rows in the terminal's viewport. Use