refactor(compiler): remove private exports

All of `@angular/compiler` is private, so we can export
everything we need directly.
This commit is contained in:
Tobias Bosch
2016-10-18 08:03:49 -07:00
committed by Alex Rickabaugh
parent a8815d6b08
commit acda82c1ed
10 changed files with 68 additions and 254 deletions

View File

@ -11,7 +11,7 @@ const parse5 = require('parse5');
import {ListWrapper} from '../src/facade/collection';
import {DomAdapter, setRootDomAdapter} from './private_import_platform-browser';
import {isPresent, isBlank, global, setValueOnPath} from '../src/facade/lang';
import {SelectorMatcher, CssSelector} from './private_import_compiler';
import {SelectorMatcher, CssSelector} from '@angular/compiler';
let treeAdapter: any;

View File

@ -1,15 +0,0 @@
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import {__compiler_private__ as _c} from '@angular/compiler';
export type SelectorMatcher = typeof _c.SelectorMatcher;
export var SelectorMatcher: typeof _c.SelectorMatcher = _c.SelectorMatcher;
export type CssSelector = typeof _c.CssSelector;
export var CssSelector: typeof _c.CssSelector = _c.CssSelector;