fix(typings): missing types in ListWrapper typings

This commit is contained in:
Alex Eagle 2015-10-08 21:38:44 -07:00 committed by Alex Eagle
parent 31f48ae943
commit 597f79e0c7
1 changed files with 1 additions and 1 deletions

View File

@ -177,7 +177,7 @@ export class ListWrapper {
static createFixedSize(size: number): any[] { return new Array(size); }
static createGrowableSize(size: number): any[] { return new Array(size); }
static clone<T>(array: T[]): T[] { return array.slice(0); }
static forEachWithIndex<T>(array: T[], fn: (T, number) => void) {
static forEachWithIndex<T>(array: T[], fn: (t: T, n: number) => void) {
for (var i = 0; i < array.length; i++) {
fn(array[i], i);
}