Remove applyAddon, stabilize loadAddon

Fixes #2076
This commit is contained in:
Daniel Imms
2019-08-10 14:31:14 -07:00
parent e254d61c65
commit ba1274ba12
3 changed files with 1 additions and 15 deletions
+1 -9
View File
@@ -807,15 +807,7 @@ declare module 'xterm' {
reset(): void
/**
* Applies an addon to the Terminal prototype, making it available to all
* newly created Terminals.
* @param addon The addon to apply.
* @deprecated Use the new loadAddon API/addon format.
*/
static applyAddon(addon: any): void;
/**
* (EXPERIMENTAL) Loads an addon into this instance of xterm.js.
* Loads an addon into this instance of xterm.js.
* @param addon The addon to load.
*/
loadAddon(addon: ITerminalAddon): void;