Update sugar.d.ts. Fix Array.groupBy method

fn? - iteration function over result object.
It has 3 arguments: groupKey, groupItems, resultObject

key in result object always is string