From af005cc3ee7f0bcd3336553b0d5994e5ba7b3cf1 Mon Sep 17 00:00:00 2001 From: Derek Brown Date: Sun, 17 Jun 2018 07:30:18 -0400 Subject: [PATCH] Add `rejectOnError` to `define` --- types/sequelize/index.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/types/sequelize/index.d.ts b/types/sequelize/index.d.ts index 2772eaa905..0d9a96bfc4 100644 --- a/types/sequelize/index.d.ts +++ b/types/sequelize/index.d.ts @@ -5262,6 +5262,11 @@ declare namespace sequelize { * Set to true or a string with the attribute name you want to use to enable. */ version?: boolean | string; + + /** + * Throws an error when no records found + */ + rejectOnError?: boolean | Error; } /**