From 909d709089b753937e664f83c9d56d7c8ae57eb3 Mon Sep 17 00:00:00 2001 From: Mateusz Kwasniewski Date: Wed, 22 Feb 2023 11:15:46 +0100 Subject: [PATCH] fix: db type (#3180) --- .../features/export-import-toggles/import-toggles-store.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/features/export-import-toggles/import-toggles-store.ts b/src/lib/features/export-import-toggles/import-toggles-store.ts index 8561954e8f..df8a65c193 100644 --- a/src/lib/features/export-import-toggles/import-toggles-store.ts +++ b/src/lib/features/export-import-toggles/import-toggles-store.ts @@ -1,5 +1,5 @@ import { IImportTogglesStore } from './import-toggles-store-type'; -import { Knex } from 'knex'; +import { Db } from '../../db/db'; const T = { featureStrategies: 'feature_strategies', @@ -7,9 +7,9 @@ const T = { featureTag: 'feature_tag', }; export class ImportTogglesStore implements IImportTogglesStore { - private db: Knex; + private db: Db; - constructor(db: Knex) { + constructor(db: Db) { this.db = db; }