fix(ivy): add missging getDirectives export (#28259)

fix(ivy): expose missing getDirectives from dicovery_utils

PR Close #28259
This commit is contained in:
Sander Elias 2019-01-20 09:25:15 +01:00 committed by Alex Rickabaugh
parent f99082fd3c
commit d336bff200
2 changed files with 3 additions and 1 deletions

View File

@ -74,6 +74,7 @@ export {
pureFunction8 as ɵpureFunction8, pureFunction8 as ɵpureFunction8,
pureFunctionV as ɵpureFunctionV, pureFunctionV as ɵpureFunctionV,
getCurrentView as ɵgetCurrentView, getCurrentView as ɵgetCurrentView,
getDirectives as ɵgetDirectives,
getHostElement as ɵgetHostElement, getHostElement as ɵgetHostElement,
restoreView as ɵrestoreView, restoreView as ɵrestoreView,
containerRefreshStart as ɵcontainerRefreshStart, containerRefreshStart as ɵcontainerRefreshStart,

View File

@ -7,7 +7,7 @@
*/ */
import {LifecycleHooksFeature, renderComponent, whenRendered} from './component'; import {LifecycleHooksFeature, renderComponent, whenRendered} from './component';
import {defineBase, defineComponent, defineDirective, defineNgModule, definePipe} from './definition'; import {defineBase, defineComponent, defineDirective, defineNgModule, definePipe} from './definition';
import {getComponent, getHostElement, getRenderedText} from './discovery_utils'; import {getComponent, getDirectives, getHostElement, getRenderedText} from './discovery_utils';
import {InheritDefinitionFeature} from './features/inherit_definition_feature'; import {InheritDefinitionFeature} from './features/inherit_definition_feature';
import {ProvidersFeature} from './features/providers_feature'; import {ProvidersFeature} from './features/providers_feature';
import {BaseDef, ComponentDef, ComponentDefWithMeta, ComponentTemplate, ComponentType, DirectiveDef, DirectiveDefFlags, DirectiveDefWithMeta, DirectiveType, PipeDef, PipeDefWithMeta} from './interfaces/definition'; import {BaseDef, ComponentDef, ComponentDefWithMeta, ComponentTemplate, ComponentType, DirectiveDef, DirectiveDefFlags, DirectiveDefWithMeta, DirectiveType, PipeDef, PipeDefWithMeta} from './interfaces/definition';
@ -170,6 +170,7 @@ export {
definePipe, definePipe,
getHostElement, getHostElement,
getComponent, getComponent,
getDirectives,
getRenderedText, getRenderedText,
renderComponent, renderComponent,
whenRendered, whenRendered,