From 48ce8aa75563e21e00ed6e4a35cf6aa8d225df3a Mon Sep 17 00:00:00 2001 From: Ethan Rubio Date: Tue, 1 Nov 2016 06:34:19 -0700 Subject: [PATCH] Fix typo for FindOptionsAttributesArray type (#12388) --- sequelize/index.d.ts | 4 ++-- sequelize/sequelize-3.0.0.d.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sequelize/index.d.ts b/sequelize/index.d.ts index 595abcf673..a2a9b6380c 100644 --- a/sequelize/index.d.ts +++ b/sequelize/index.d.ts @@ -3170,7 +3170,7 @@ declare namespace sequelize { /** * Shortcut for types used in FindOptions.attributes */ - type FindOptionsAttriburesArray = Array; + type FindOptionsAttributesArray = Array; /** * 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 }; + attributes?: FindOptionsAttributesArray | { include?: FindOptionsAttributesArray, exclude?: Array }; /** * If true, only non-deleted records will be returned. If false, both deleted and non-deleted records will diff --git a/sequelize/sequelize-3.0.0.d.ts b/sequelize/sequelize-3.0.0.d.ts index d78abaa2e7..8b22524878 100644 --- a/sequelize/sequelize-3.0.0.d.ts +++ b/sequelize/sequelize-3.0.0.d.ts @@ -3134,7 +3134,7 @@ declare namespace sequelize { /** * Shortcut for types used in FindOptions.attributes */ - type FindOptionsAttriburesArray = Array; + type FindOptionsAttributesArray = Array; /** * 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 }; + attributes?: FindOptionsAttributesArray | { include?: FindOptionsAttributesArray, exclude?: Array }; /** * If true, only non-deleted records will be returned. If false, both deleted and non-deleted records will