Type addon strings in loadAddon

This commit is contained in:
Daniel Imms
2017-08-18 17:34:10 -07:00
parent 3ba3638ab7
commit 92ac427d00
+1 -1
View File
@@ -277,6 +277,6 @@ declare module 'xterm' {
* available to all newly created Terminals.
* @param addon The addon to load.
*/
static loadAddon(addon: string): void;
static loadAddon(addon: 'attach' | 'fit' | 'fullscreen' | 'search' | 'terminado'): void;
}
}