mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 21:10:23 +00:00
Added test for ruduce with workaround of bug: https://typescript.codeplex.com/workitem/1960
This commit is contained in:
@@ -42,6 +42,7 @@ ax.aggregate("", (acc, i) => acc + i);
|
||||
ax.aggregate((acc, i) => acc + i);
|
||||
|
||||
//ax.reduce((acc, i) => acc + i, 100); // bug: https://typescript.codeplex.com/workitem/1960
|
||||
ax.reduce<number>((acc, i) => acc + i, 100);
|
||||
ax.reduce((acc, i) => acc + i);
|
||||
|
||||
ax.all(item => true);
|
||||
|
||||
Reference in New Issue
Block a user