diff --git a/fixtures/typings-test/typings-test.ts b/fixtures/typings-test/typings-test.ts index 887eb322..d5e564c5 100644 --- a/fixtures/typings-test/typings-test.ts +++ b/fixtures/typings-test/typings-test.ts @@ -170,9 +170,9 @@ namespace methods_core { t.setOption('handler', (data: string) => console.log(data)); t.setOption('bellSound', 'foo'); t.setOption('bellStyle', 'none'); - t.setOption('bellStyle', 'visual'); + // t.setOption('bellStyle', 'visual'); t.setOption('bellStyle', 'sound'); - t.setOption('bellStyle', 'both'); + // t.setOption('bellStyle', 'both'); t.setOption('fontSize', 1); t.setOption('lineHeight', 1); t.setOption('fontFamily', 'foo'); diff --git a/typings/xterm.d.ts b/typings/xterm.d.ts index 43be69c2..74654035 100644 --- a/typings/xterm.d.ts +++ b/typings/xterm.d.ts @@ -20,7 +20,7 @@ declare module 'xterm' { /** * The type of the bell notification the terminal will use. */ - bellStyle?: 'none' | 'visual' | 'sound' | 'both'; + bellStyle?: 'none' /*| 'visual'*/ | 'sound' /*| 'both'*/; /** * The number of columns in the terminal.