From 043b939aa24c8a8aee55502653d1a9a3f0ef20ea Mon Sep 17 00:00:00 2001 From: Abhijith Vijayan <34790378+abhijithvijayan@users.noreply.github.com> Date: Mon, 23 Mar 2020 02:38:12 +0530 Subject: [PATCH] fix #43255: add new fields to @types/keystonejs__adapter-knex for adapter-knex v6.3 (#43256) * fix #43255: add dropDatabase field to keystonejs__adapter-knex options * fix: restore dependent typescript version 3.5 * fix: lint errors --- types/keystonejs__adapter-knex/index.d.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/types/keystonejs__adapter-knex/index.d.ts b/types/keystonejs__adapter-knex/index.d.ts index 5c176c3946..7be0cd6f38 100644 --- a/types/keystonejs__adapter-knex/index.d.ts +++ b/types/keystonejs__adapter-knex/index.d.ts @@ -1,6 +1,7 @@ -// Type definitions for @keystonejs/adapter-knex 5.1 +// Type definitions for @keystonejs/adapter-knex 6.3 // Project: https://github.com/keystonejs/keystone // Definitions by: Kevin Brown +// Abhijith Vijayan // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 3.5 @@ -15,6 +16,7 @@ declare module '@keystonejs/adapter-knex' { knexOptions?: Config; schemaName?: string; listAdapterClass?: any; + dropDatabase?: boolean; } class KnexAdapter extends BaseKeystoneAdapter { constructor(options?: KnexAdaptorOptions);