mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-22 20:39:17 +08:00
update sugar.d.ts
improve signature for Object.extended() following the example in method description
This commit is contained in:
2
sugar/sugar.d.ts
vendored
2
sugar/sugar.d.ts
vendored
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user