From ecb5be476fee7045b417ba1589f38dc054b32182 Mon Sep 17 00:00:00 2001 From: Antoine Boisadam Date: Fri, 26 Oct 2018 09:20:39 +0200 Subject: [PATCH 1/2] Update Sequelize types --- types/sequelize/index.d.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/types/sequelize/index.d.ts b/types/sequelize/index.d.ts index 0625a6406a..5a57df48e3 100644 --- a/types/sequelize/index.d.ts +++ b/types/sequelize/index.d.ts @@ -14,6 +14,7 @@ // Todd Bealmear // Nick Schultz // Thomas Breleur +// Antoine Boisadam // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.8 @@ -5698,6 +5699,13 @@ declare namespace sequelize { * Pass object to limit set of aliased operators or false to disable completely. */ operatorsAliases?: boolean | OperatorsAliases; + + /** + * Set to `true` to enable connecting over SSL. + * + * Defaults to false + */ + ssl?: boolean; } /** From fac752e296682d22f6a9e0f260318704c856827e Mon Sep 17 00:00:00 2001 From: Antoine Boisadam Date: Fri, 26 Oct 2018 11:11:05 +0200 Subject: [PATCH 2/2] Change default value comment --- types/sequelize/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/sequelize/index.d.ts b/types/sequelize/index.d.ts index 5a57df48e3..5b7428a017 100644 --- a/types/sequelize/index.d.ts +++ b/types/sequelize/index.d.ts @@ -5703,7 +5703,7 @@ declare namespace sequelize { /** * Set to `true` to enable connecting over SSL. * - * Defaults to false + * Defaults to undefined */ ssl?: boolean; }