Add deprecation message to applyAddon

This commit is contained in:
Daniel Imms
2019-04-07 15:00:27 -04:00
parent 26a80d0d35
commit 267071ead6
+1
View File
@@ -769,6 +769,7 @@ declare module 'xterm' {
* 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;