From 1e728d453b7c5981853faa6978025ea23f9cfb7e Mon Sep 17 00:00:00 2001 From: Daniel Imms Date: Mon, 4 Sep 2017 14:19:17 -0700 Subject: [PATCH] Add new API to typings test --- fixtures/typings-test/typings-test.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/fixtures/typings-test/typings-test.ts b/fixtures/typings-test/typings-test.ts index 90958f83..df79d2d0 100644 --- a/fixtures/typings-test/typings-test.ts +++ b/fixtures/typings-test/typings-test.ts @@ -168,6 +168,10 @@ namespace methods_core { t.setOption('bellStyle', 'visual'); t.setOption('bellStyle', 'sound'); t.setOption('bellStyle', 'both'); + t.setOption('fontSize', 1); + t.setOption('lineHeight', 1); + t.setOption('fontFamily', 'foo'); + t.setOption('theme', {background: '#ff0000'}); } } namespace scrolling { @@ -212,6 +216,9 @@ namespace methods_experimental { priority: 1, validationCallback: (uri: string, callback: (isValid: boolean) => void) => { console.log(uri, callback); + }, + hoverCallback: (e: MouseEvent, uri: string) => { + console.log(e, uri); } }); t.deregisterLinkMatcher(1);