From 057862fe25b8164bb0607326dd9c70c4dafc7465 Mon Sep 17 00:00:00 2001 From: Jiawei Li Date: Tue, 17 Feb 2015 18:52:59 -0800 Subject: [PATCH] fix(marionette): generi-fy Backbone.Babysitter.map --- marionette/marionette.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/marionette/marionette.d.ts b/marionette/marionette.d.ts index cf6adfd02..ee528b666 100644 --- a/marionette/marionette.d.ts +++ b/marionette/marionette.d.ts @@ -43,7 +43,7 @@ declare module Backbone { last(): View; last(n: number): View[]; lastIndexOf(element: View, fromIndex?: number): number; - map(iterator: (element: View, index: number, context?: any) => any[], context?: any): any[]; + map(iterator: (element: View, index: number, context?: any) => U, context?: any): U[]; pluck(attribute: string): any[]; reject(iterator: (element: View, index: number) => boolean, context?: any): View[]; rest(): View;