Type addon strings in loadAddon
This commit is contained in:
Vendored
+1
-1
@@ -277,6 +277,6 @@ declare module 'xterm' {
|
|||||||
* available to all newly created Terminals.
|
* available to all newly created Terminals.
|
||||||
* @param addon The addon to load.
|
* @param addon The addon to load.
|
||||||
*/
|
*/
|
||||||
static loadAddon(addon: string): void;
|
static loadAddon(addon: 'attach' | 'fit' | 'fullscreen' | 'search' | 'terminado'): void;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user