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,5 +1,5 @@
import {Directive} from '../core/metadata';
import {List, StringMap, StringMapWrapper} from 'angular2/src/core/facade/collection';
import {StringMap, StringMapWrapper} from 'angular2/src/core/facade/collection';
import {Router} from './router';
import {Location} from './location';
@ -44,7 +44,7 @@ import {Instruction, stringifyInstruction} from './instruction';
}
})
export class RouterLink {
private _routeParams: List<any>;
private _routeParams: any[];
// the url displayed on the anchor element.
visibleHref: string;
@ -56,7 +56,7 @@ export class RouterLink {
get isRouteActive(): boolean { return this._router.isRouteActive(this._navigationInstruction); }
set routeParams(changes: List<any>) {
set routeParams(changes: any[]) {
this._routeParams = changes;
this._navigationInstruction = this._router.generate(this._routeParams);