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; } }