From d7f6f96ba678887c2100e8a4047a1a72f4d45957 Mon Sep 17 00:00:00 2001 From: Daniel Imms Date: Sun, 29 Oct 2017 13:01:38 -0700 Subject: [PATCH] Add winptyCompat addon typings --- fixtures/typings-test/typings-test.ts | 1 + typings/xterm.d.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/fixtures/typings-test/typings-test.ts b/fixtures/typings-test/typings-test.ts index c0ac8b50..be362395 100644 --- a/fixtures/typings-test/typings-test.ts +++ b/fixtures/typings-test/typings-test.ts @@ -41,6 +41,7 @@ namespace static_methods { Terminal.loadAddon('fullscreen'); Terminal.loadAddon('search'); Terminal.loadAddon('terminado'); + Terminal.loadAddon('winptyCompat'); } } diff --git a/typings/xterm.d.ts b/typings/xterm.d.ts index f20f3502..0997debf 100644 --- a/typings/xterm.d.ts +++ b/typings/xterm.d.ts @@ -513,6 +513,6 @@ declare module 'xterm' { * available to all newly created Terminals. * @param addon The addon to load. */ - static loadAddon(addon: 'attach' | 'fit' | 'fullscreen' | 'search' | 'terminado'): void; + static loadAddon(addon: 'attach' | 'fit' | 'fullscreen' | 'search' | 'terminado' | 'winptyCompat'): void; } }