Fix typo for FindOptionsAttributesArray type (#12388)

This commit is contained in:
Ethan Rubio
2016-11-01 22:34:19 +09:00
committed by Masahiro Wakame
parent 0c035b0d45
commit 48ce8aa755
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -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
+2 -2
View File
@@ -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