From f3ecbea3e885541e8ef17c4992e3c9e6c8073183 Mon Sep 17 00:00:00 2001 From: Daniel Imms Date: Tue, 23 Jan 2018 07:55:18 -0800 Subject: [PATCH] Fix tests --- fixtures/typings-test/typings-test.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/fixtures/typings-test/typings-test.ts b/fixtures/typings-test/typings-test.ts index 2aa2264e..4718110d 100644 --- a/fixtures/typings-test/typings-test.ts +++ b/fixtures/typings-test/typings-test.ts @@ -145,8 +145,8 @@ namespace methods_core { const r21: boolean = t.getOption('enableBold'); const r22: number = t.getOption('letterSpacing'); const r23: boolean = t.getOption('macOptionIsMeta'); - const r24: number = t.getOption('fontWeight'); - const r25: number = t.getOption('fontWeightBold'); + const r24: string = t.getOption('fontWeight'); + const r25: string = t.getOption('fontWeightBold'); } { const t: Terminal = new Terminal(); @@ -160,6 +160,8 @@ namespace methods_core { t.setOption('debug', true); t.setOption('disableStdin', true); t.setOption('fontWeight', 'normal'); + t.setOption('fontWeight', 'bold'); + t.setOption('fontWeightBold', 'normal'); t.setOption('fontWeightBold', 'bold'); t.setOption('popOnBell', true); t.setOption('screenKeys', true);