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

@ -63,7 +63,7 @@ export class BitmapService {
return imageData;
}
private _swap(data: List<any>, index1: number, index2: number) {
private _swap(data: any[], index1: number, index2: number) {
var temp = data[index1];
data[index1] = data[index2];
data[index2] = temp;

View File

@ -28,7 +28,7 @@ export class TodoFactory {
// Store manages any generic item that inherits from KeyModel
@Injectable()
export class Store {
list: List<KeyModel> = [];
list: KeyModel[] = [];
add(record: KeyModel): void { this.list.push(record); }