chore(ts2dart): replace List with Array

Closes #3514
This commit is contained in:
Misko Hevery
2015-08-28 11:29:19 -07:00
committed by Miško Hevery
parent 4415855683
commit e916836261
204 changed files with 815 additions and 947 deletions

View File

@ -1,9 +1,9 @@
import {EventEmitter, ObservableWrapper} from 'angular2/src/core/facade/async';
import {List, ListWrapper} from 'angular2/src/core/facade/collection';
import {ListWrapper} from 'angular2/src/core/facade/collection';
import {Location} from 'angular2/src/router/location';
export class SpyLocation implements Location {
urlChanges: List<string> = [];
urlChanges: string[] = [];
_path: string = '';
_subject: EventEmitter = new EventEmitter();
_baseHref: string = '';

View File

@ -1,5 +1,4 @@
import {EventEmitter, ObservableWrapper} from 'angular2/src/core/facade/async';
import {List} from 'angular2/src/core/facade/collection';
import {LocationStrategy} from 'angular2/src/router/location_strategy';
@ -7,7 +6,7 @@ export class MockLocationStrategy extends LocationStrategy {
internalBaseHref: string = '/';
internalPath: string = '/';
internalTitle: string = '';
urlChanges: List<string> = [];
urlChanges: string[] = [];
_subject: EventEmitter = new EventEmitter();
constructor() { super(); }