mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-07 16:30:12 +08:00
update sugar.d.ts
improve signature for Object.extended() following the example in method description
This commit is contained in:
Vendored
+1
-1
@@ -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