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, st as ɵst,
ld as ɵld, ld as ɵld,
Pp as ɵPp, Pp as ɵPp,
ComponentDefInternal as ɵComponentDef, ComponentDef as ɵComponentDef,
DirectiveDefInternal as ɵDirectiveDef, DirectiveDef as ɵDirectiveDef,
PipeDef as ɵPipeDef, PipeDef as ɵPipeDef,
whenRendered as ɵwhenRendered, whenRendered as ɵwhenRendered,
iA as ɵiA, iA as ɵiA,

View File

@ -12,7 +12,7 @@ import {InheritDefinitionFeature} from './features/inherit_definition_feature';
import {NgOnChangesFeature} from './features/ng_onchanges_feature'; import {NgOnChangesFeature} from './features/ng_onchanges_feature';
import {PublicFeature} from './features/public_feature'; import {PublicFeature} from './features/public_feature';
import {I18nExpInstruction, I18nInstruction, i18nExpMapping, i18nInterpolation, i18nInterpolationV} from './i18n'; 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 {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'; 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 // clang-format on
export { export {
ComponentDef,
ComponentDefInternal, ComponentDefInternal,
ComponentTemplate, ComponentTemplate,
ComponentType, ComponentType,
DirectiveDefInternal, DirectiveDef,
DirectiveDefFlags, DirectiveDefFlags,
DirectiveDefInternal,
DirectiveType, DirectiveType,
NgOnChangesFeature, NgOnChangesFeature,
InheritDefinitionFeature, InheritDefinitionFeature,