diff --git a/modules/@angular/compiler-cli/src/extractor.ts b/modules/@angular/compiler-cli/src/extractor.ts index 33d1f89d27..bcf7cbecdd 100644 --- a/modules/@angular/compiler-cli/src/extractor.ts +++ b/modules/@angular/compiler-cli/src/extractor.ts @@ -27,7 +27,7 @@ export class Extractor { extract(): Promise { return this.ngExtractor.extract(this.program.getSourceFiles().map( - sf => this.ngCompilerHost.getCanonicalFileName(sf.fileName))) + sf => this.ngCompilerHost.getCanonicalFileName(sf.fileName))); } static create( diff --git a/modules/@angular/compiler/src/i18n/index.ts b/modules/@angular/compiler/src/i18n/index.ts index aca404c024..aeb57917b2 100644 --- a/modules/@angular/compiler/src/i18n/index.ts +++ b/modules/@angular/compiler/src/i18n/index.ts @@ -6,10 +6,10 @@ * found in the LICENSE file at https://angular.io/license */ +export {Extractor, ExtractorHost, ExtractorOptions} from './extractor'; export {I18NHtmlParser} from './i18n_html_parser'; export {MessageBundle} from './message_bundle'; export {Serializer} from './serializers/serializer'; export {Xliff} from './serializers/xliff'; export {Xmb} from './serializers/xmb'; export {Xtb} from './serializers/xtb'; -export * from './extractor'; \ No newline at end of file