Update sugar.d.ts

Fix Array.subtract
This commit is contained in:
KhodeN
2013-10-30 17:07:53 +11:00
parent 1bb113b03e
commit f8ef519140
+6 -1
View File
@@ -2813,7 +2813,12 @@ interface Array<T> {
* ['a','b'].subtract('b','c') -> ['a']
**/
subtract(...args: T[]): T[];
/**
* @see subtract
**/
subtract(args: T[]): T[];
/**
* Sums all values in the array.
* @param map Property on each element in the array or callback function to sum up the elements.