mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-28 12:30:21 +08:00
modify return type of Instance methods
This commit is contained in:
1 parent
745b182be1
commit
080810fc04
1 file changed
+2
-2
Vendored
+2
-2
@@ -1563,7 +1563,7 @@ declare module "sequelize" {
|
||||
* @param options.plain If set to true, included instances will be returned as plain objects
|
||||
*/
|
||||
get( key : string, options? : { plain? : boolean, clone? : boolean } ) : any;
|
||||
get( options? : { plain? : boolean, clone? : boolean } ) : Object;
|
||||
get( options? : { plain? : boolean, clone? : boolean } ) : TAttributes;
|
||||
|
||||
/**
|
||||
* Set is used to update values on the instance (the sequelize representation of the instance that is,
|
||||
@@ -1716,7 +1716,7 @@ declare module "sequelize" {
|
||||
* Convert the instance to a JSON representation. Proxies to calling `get` with no keys. This means get all
|
||||
* values gotten from the DB, and apply all custom getters.
|
||||
*/
|
||||
toJSON() : Object;
|
||||
toJSON() : TAttributes;
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user