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
Merge pull request #1609 from KhodeN/patch-3

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