From 01c982eee56b0c4cf48a17d29544d17731b30fd7 Mon Sep 17 00:00:00 2001 From: Sebazzz Date: Tue, 18 Nov 2014 22:16:36 +0100 Subject: [PATCH] Foreach --- linq/linq.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/linq/linq.d.ts b/linq/linq.d.ts index a0aff5350..f488c999c 100644 --- a/linq/linq.d.ts +++ b/linq/linq.d.ts @@ -184,8 +184,8 @@ declare module linq { //Action Methods Do(action: ($, i: number) => void ): Enumerable; Do(action: string): Enumerable; - ForEach(action: ($, i: number) => void ): void; - ForEach(func: ($, i: number) => boolean): void; + ForEach(action: ($: T, i: number) => void ): void; + ForEach(func: ($: T, i: number) => boolean): void; ForEach(action_func: string): void; Write(separator?: string, selector?: ($) =>any): void; Write(separator?: string, selector?: string): void;