From fa44da16c8f3d6f4feda4c3e3431b6c744d04a2e Mon Sep 17 00:00:00 2001 From: Stacy Gay Date: Fri, 16 Oct 2015 13:21:31 -0400 Subject: [PATCH] refactor(linker): Expose ViewResolver to public api Fixes https://github.com/angular/angular/issues/4780 Closes #4789 --- modules/angular2/src/core/linker.ts | 1 + modules/angular2/test/public_api_spec.ts | 2 ++ 2 files changed, 3 insertions(+) diff --git a/modules/angular2/src/core/linker.ts b/modules/angular2/src/core/linker.ts index 825fae51f5..19b6e6d431 100644 --- a/modules/angular2/src/core/linker.ts +++ b/modules/angular2/src/core/linker.ts @@ -10,6 +10,7 @@ export { DoCheck } from './linker/interfaces'; export {DirectiveResolver} from './linker/directive_resolver'; +export {ViewResolver} from './linker/view_resolver'; export {Compiler} from './linker/compiler'; export {AppViewManager} from './linker/view_manager'; export {QueryList} from './linker/query_list'; diff --git a/modules/angular2/test/public_api_spec.ts b/modules/angular2/test/public_api_spec.ts index 703b47fbf9..d444bea3dd 100644 --- a/modules/angular2/test/public_api_spec.ts +++ b/modules/angular2/test/public_api_spec.ts @@ -1321,6 +1321,8 @@ var NG_API = [ Abstract method 'ViewRef.setLocal()', */ + 'ViewResolver', + 'ViewResolver.resolve()', 'WrappedException', 'WrappedException.context', 'WrappedException.message',