From 17b2194890170062203508504e76382ab7c629db Mon Sep 17 00:00:00 2001 From: Brian Love Date: Mon, 22 Feb 2016 19:55:43 -0700 Subject: [PATCH 1/2] Added dialectOptions property to the Options interface. --- sequelize/sequelize-2.0.0.d.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sequelize/sequelize-2.0.0.d.ts b/sequelize/sequelize-2.0.0.d.ts index 04af612a5..e2cbdfe48 100644 --- a/sequelize/sequelize-2.0.0.d.ts +++ b/sequelize/sequelize-2.0.0.d.ts @@ -1379,6 +1379,11 @@ declare module "sequelize" * connecting to a pg database, you should specify 'pg.js' here */ dialectModulePath?: string; + + /** + * The dialect options that are passed to the underlying dialect library. + */ + dialectOptions?: any; /** * The host of the relational database. Default 'localhost'. From 7ae80ff1b1f8566a4d01381e62b5eb936c25117a Mon Sep 17 00:00:00 2001 From: Brian Love Date: Mon, 22 Feb 2016 19:58:42 -0700 Subject: [PATCH 2/2] The dialectOptions property should be of type Object as per the documentation: http://docs.sequelizejs.com/en/latest/api/sequelize/. --- sequelize/sequelize-2.0.0.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sequelize/sequelize-2.0.0.d.ts b/sequelize/sequelize-2.0.0.d.ts index e2cbdfe48..5565f0e21 100644 --- a/sequelize/sequelize-2.0.0.d.ts +++ b/sequelize/sequelize-2.0.0.d.ts @@ -1383,7 +1383,7 @@ declare module "sequelize" /** * The dialect options that are passed to the underlying dialect library. */ - dialectOptions?: any; + dialectOptions?: Object; /** * The host of the relational database. Default 'localhost'.