From 620e3419539bd4e3f7572124a913c2e233bad925 Mon Sep 17 00:00:00 2001 From: frogcjn Date: Wed, 22 Jun 2016 10:03:40 +0800 Subject: [PATCH] fix error on searchpath options --- sequelize/sequelize.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sequelize/sequelize.d.ts b/sequelize/sequelize.d.ts index 02615e2f1e..7fb9b764ed 100644 --- a/sequelize/sequelize.d.ts +++ b/sequelize/sequelize.d.ts @@ -2651,7 +2651,7 @@ declare module "sequelize" { /** * Options used for Instance.save method */ - interface InstanceSaveOptions extends FieldsOptions, LoggingOptions, ReturningOptions { + interface InstanceSaveOptions extends FieldsOptions, LoggingOptions, ReturningOptions, SearchPathOptions { /** * If true, the updatedAt timestamp will not be updated. @@ -4482,7 +4482,7 @@ declare module "sequelize" { /** * If false do not prepend the query with the search_path (Postgres only) */ - supportsSearchPath : boolean; + supportsSearchPath? : boolean; /** * Map returned fields to model's fields if `options.model` or `options.instance` is present.