From 92ac427d00a87d563d03993482ebcad1ab6128af Mon Sep 17 00:00:00 2001 From: Daniel Imms Date: Fri, 18 Aug 2017 17:34:10 -0700 Subject: [PATCH] Type addon strings in loadAddon --- typings/xterm.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typings/xterm.d.ts b/typings/xterm.d.ts index 5e942ad59..98312875a 100644 --- a/typings/xterm.d.ts +++ b/typings/xterm.d.ts @@ -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; } }