mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-03 11:41:44 +00:00
Fix typo for FindOptionsAttributesArray type (#12388)
This commit is contained in:
committed by
Masahiro Wakame
parent
0c035b0d45
commit
48ce8aa755
Vendored
+2
-2
@@ -3170,7 +3170,7 @@ declare namespace sequelize {
|
||||
/**
|
||||
* Shortcut for types used in FindOptions.attributes
|
||||
*/
|
||||
type FindOptionsAttriburesArray = Array<string | [string, string] | fn | [fn, string] | cast | [cast, string]>;
|
||||
type FindOptionsAttributesArray = Array<string | [string, string] | fn | [fn, string] | cast | [cast, string]>;
|
||||
|
||||
/**
|
||||
* Options that are passed to any model creating a SELECT query
|
||||
@@ -3190,7 +3190,7 @@ declare namespace sequelize {
|
||||
* `Sequelize.literal`, `Sequelize.fn` and so on), and the second is the name you want the attribute to
|
||||
* have in the returned instance
|
||||
*/
|
||||
attributes?: FindOptionsAttriburesArray | { include?: FindOptionsAttriburesArray, exclude?: Array<string> };
|
||||
attributes?: FindOptionsAttributesArray | { include?: FindOptionsAttributesArray, exclude?: Array<string> };
|
||||
|
||||
/**
|
||||
* If true, only non-deleted records will be returned. If false, both deleted and non-deleted records will
|
||||
|
||||
Vendored
+2
-2
@@ -3134,7 +3134,7 @@ declare namespace sequelize {
|
||||
/**
|
||||
* Shortcut for types used in FindOptions.attributes
|
||||
*/
|
||||
type FindOptionsAttriburesArray = Array<string | [string, string] | fn | [fn, string] | cast | [cast, string]>;
|
||||
type FindOptionsAttributesArray = Array<string | [string, string] | fn | [fn, string] | cast | [cast, string]>;
|
||||
|
||||
/**
|
||||
* Options that are passed to any model creating a SELECT query
|
||||
@@ -3154,7 +3154,7 @@ declare namespace sequelize {
|
||||
* `Sequelize.literal`, `Sequelize.fn` and so on), and the second is the name you want the attribute to
|
||||
* have in the returned instance
|
||||
*/
|
||||
attributes?: FindOptionsAttriburesArray | { include?: FindOptionsAttriburesArray, exclude?: Array<string> };
|
||||
attributes?: FindOptionsAttributesArray | { include?: FindOptionsAttributesArray, exclude?: Array<string> };
|
||||
|
||||
/**
|
||||
* If true, only non-deleted records will be returned. If false, both deleted and non-deleted records will
|
||||
|
||||
Reference in New Issue
Block a user