fix(typing): Remove re-export of the Promise built-in type.

Instead, ts2dart can add the 'dart:async' import whenever
Promise is used.

Fixes #6468
This commit is contained in:
Alex Eagle
2016-02-08 13:24:09 -08:00
parent ae275fa4e4
commit 265703b950
80 changed files with 46 additions and 92 deletions

View File

@ -2,7 +2,7 @@ import {XHR} from 'angular2/src/compiler/xhr';
import {ListWrapper, Map, MapWrapper} from 'angular2/src/facade/collection';
import {isBlank, isPresent, normalizeBlank} from 'angular2/src/facade/lang';
import {BaseException, WrappedException} from 'angular2/src/facade/exceptions';
import {PromiseCompleter, PromiseWrapper, Promise} from 'angular2/src/facade/async';
import {PromiseCompleter, PromiseWrapper} from 'angular2/src/facade/async';
/**
* A mock implementation of {@link XHR} that allows outgoing requests to be mocked