update sugar.d.ts

improve signature for Object.extended() following the example in method description
This commit is contained in:
fberthel
2016-02-10 13:48:33 +01:00
parent 1a5b2a729d
commit d545c619d6

2
sugar/sugar.d.ts vendored
View File

@@ -3405,7 +3405,7 @@ interface Object {
* Object.extended({ happy:true, pappy:false }).keys() -> ['happy','pappy']
* Object.extended({ happy:true, pappy:false }).values() -> [true, false]
**/
extended(): Object;
extended(obj?: any): Object;
/**
* Returns true if <obj> is an object of that type.