Mark element and textarea APIs as | undefined
Didn't fix all the issues in Terminal.ts as they will be covered in layering refactor Fixes #2471
This commit is contained in:
Vendored
+2
-2
@@ -352,12 +352,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
|
||||
|
||||
Reference in New Issue
Block a user