diff --git a/sugar/sugar.d.ts b/sugar/sugar.d.ts index e5f9c97d7b..de418b65e5 100644 --- a/sugar/sugar.d.ts +++ b/sugar/sugar.d.ts @@ -2569,7 +2569,7 @@ interface Array { /** * @see max **/ - max(map: (n: T) => U): T[]; + max(map: (n: T) => U, all: boolean): T[]; /*** * Returns the element in the array with the lowest value.