From 597f79e0c792f4e1a8fc138064373d24bf7436fc Mon Sep 17 00:00:00 2001 From: Alex Eagle Date: Thu, 8 Oct 2015 21:38:44 -0700 Subject: [PATCH] fix(typings): missing types in ListWrapper typings --- modules/angular2/src/core/facade/collection.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/angular2/src/core/facade/collection.ts b/modules/angular2/src/core/facade/collection.ts index c59d1355f0..8d6d527c34 100644 --- a/modules/angular2/src/core/facade/collection.ts +++ b/modules/angular2/src/core/facade/collection.ts @@ -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(array: T[]): T[] { return array.slice(0); } - static forEachWithIndex(array: T[], fn: (T, number) => void) { + static forEachWithIndex(array: T[], fn: (t: T, n: number) => void) { for (var i = 0; i < array.length; i++) { fn(array[i], i); }