fix(ivy): export the true ComponentDef/DirectiveDef types (not internal) (#24703)

This was a bug introduced in a previous commit.

PR Close #24703
This commit is contained in:
Alex Rickabaugh 2018-06-26 10:37:45 -07:00 committed by Miško Hevery
parent 7f3242affb
commit ffbacdf4ac
2 changed files with 6 additions and 4 deletions

View File

@ -83,8 +83,8 @@ export {
st as ɵst,
ld as ɵld,
Pp as ɵPp,
ComponentDefInternal as ɵComponentDef,
DirectiveDefInternal as ɵDirectiveDef,
ComponentDef as ɵComponentDef,
DirectiveDef as ɵDirectiveDef,
PipeDef as ɵPipeDef,
whenRendered as ɵwhenRendered,
iA as ɵiA,

View File

@ -12,7 +12,7 @@ import {InheritDefinitionFeature} from './features/inherit_definition_feature';
import {NgOnChangesFeature} from './features/ng_onchanges_feature';
import {PublicFeature} from './features/public_feature';
import {I18nExpInstruction, I18nInstruction, i18nExpMapping, i18nInterpolation, i18nInterpolationV} from './i18n';
import {ComponentDefInternal, ComponentTemplate, ComponentType, DirectiveDefFlags, DirectiveDefInternal, DirectiveType, PipeDef} from './interfaces/definition';
import {ComponentDef, ComponentDefInternal, ComponentTemplate, ComponentType, DirectiveDef, DirectiveDefFlags, DirectiveDefInternal, DirectiveType, PipeDef} from './interfaces/definition';
export {ComponentFactory, ComponentFactoryResolver, ComponentRef} from './component_ref';
export {QUERY_READ_CONTAINER_REF, QUERY_READ_ELEMENT_REF, QUERY_READ_FROM_NODE, QUERY_READ_TEMPLATE_REF, directiveInject, injectAttribute, injectChangeDetectorRef, injectElementRef, injectTemplateRef, injectViewContainerRef} from './di';
@ -130,11 +130,13 @@ export {
// clang-format on
export {
ComponentDef,
ComponentDefInternal,
ComponentTemplate,
ComponentType,
DirectiveDefInternal,
DirectiveDef,
DirectiveDefFlags,
DirectiveDefInternal,
DirectiveType,
NgOnChangesFeature,
InheritDefinitionFeature,