refactor(ivy): do not deep import from ngtsc into ngcc (#24897)

PR Close #24897
This commit is contained in:
Pete Bacon Darwin 2018-07-25 06:28:54 +01:00 committed by Igor Minar
parent 43d0e3dd72
commit a87d44c187
3 changed files with 4 additions and 4 deletions

View File

@ -7,9 +7,8 @@
*/ */
import * as ts from 'typescript'; import * as ts from 'typescript';
import {Decorator} from '../../../ngtsc/host'; import {ClassMember, ClassMemberKind, Decorator} from '../../../ngtsc/host';
import {ClassMember, ClassMemberKind} from '../../../ngtsc/host/src/reflection'; import {reflectObjectLiteral} from '../../../ngtsc/metadata';
import {reflectObjectLiteral} from '../../../ngtsc/metadata/src/reflector';
import {CONSTRUCTOR_PARAMS, Esm2015ReflectionHost, getPropertyValueFromSymbol} from './esm2015_host'; import {CONSTRUCTOR_PARAMS, Esm2015ReflectionHost, getPropertyValueFromSymbol} from './esm2015_host';
/** /**

View File

@ -14,7 +14,7 @@ import {SourceMapConsumer, SourceMapGenerator, RawSourceMap} from 'source-map';
import {Expression, Statement, WrappedNodeExpr, WritePropExpr} from '@angular/compiler'; import {Expression, Statement, WrappedNodeExpr, WritePropExpr} from '@angular/compiler';
import {AnalyzedClass, AnalyzedFile} from '../analyzer'; import {AnalyzedClass, AnalyzedFile} from '../analyzer';
import {Decorator} from '../../../ngtsc/host'; import {Decorator} from '../../../ngtsc/host';
import {ImportManager, translateStatement} from '../../../ngtsc/transform/src/translator'; import {ImportManager, translateStatement} from '../../../ngtsc/transform';
interface SourceMapInfo { interface SourceMapInfo {
source: string; source: string;

View File

@ -9,3 +9,4 @@
export * from './src/api'; export * from './src/api';
export {IvyCompilation} from './src/compilation'; export {IvyCompilation} from './src/compilation';
export {ivyTransformFactory} from './src/transform'; export {ivyTransformFactory} from './src/transform';
export {ImportManager, translateStatement} from './src/translator';