From bd7b6f7d9b1e65c44599a0bed19c9bc755e6fd34 Mon Sep 17 00:00:00 2001 From: Max Date: Tue, 14 Apr 2020 09:39:58 +1000 Subject: [PATCH 1/4] fix(typings): show viewFactory --- src/html-behavior.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/html-behavior.js b/src/html-behavior.js index 5cd09ff5..710dd075 100644 --- a/src/html-behavior.js +++ b/src/html-behavior.js @@ -26,6 +26,8 @@ function doProcessAttributes() {} * attribute functionality. */ export class HtmlBehaviorResource { + viewFactory: ViewFactory; + /** * Creates an instance of HtmlBehaviorResource. */ From f406c765b35ec1eaacad8769a97a9aebfc03e0bb Mon Sep 17 00:00:00 2001 From: Max Date: Tue, 14 Apr 2020 09:47:50 +1000 Subject: [PATCH 2/4] fix(typings): make resources public --- src/view-factory.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/view-factory.js b/src/view-factory.js index 07eb37c7..c4a5bf0c 100644 --- a/src/view-factory.js +++ b/src/view-factory.js @@ -361,6 +361,11 @@ export class ViewFactory { */ isCaching = false; + /** + * The resources used to compile this factory. + */ + resources: ViewResources; + /** * Creates an instance of ViewFactory. * @param template The document fragment that serves as a template for the view to be created. From 9feb5ed712bd64937bf3fbf5608cff34d9f8342a Mon Sep 17 00:00:00 2001 From: Max Date: Tue, 14 Apr 2020 09:56:45 +1000 Subject: [PATCH 3/4] make linter happy --- src/view-factory.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/view-factory.js b/src/view-factory.js index c4a5bf0c..841b685e 100644 --- a/src/view-factory.js +++ b/src/view-factory.js @@ -362,8 +362,8 @@ export class ViewFactory { isCaching = false; /** - * The resources used to compile this factory. - */ + * The resources used to compile this factory. + */ resources: ViewResources; /** From aa727613403310d383f6a2c657019086cde07273 Mon Sep 17 00:00:00 2001 From: Max Date: Tue, 14 Apr 2020 09:57:23 +1000 Subject: [PATCH 4/4] make linter happy --- src/html-behavior.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/html-behavior.js b/src/html-behavior.js index 710dd075..864f16c7 100644 --- a/src/html-behavior.js +++ b/src/html-behavior.js @@ -27,7 +27,7 @@ function doProcessAttributes() {} */ export class HtmlBehaviorResource { viewFactory: ViewFactory; - + /** * Creates an instance of HtmlBehaviorResource. */