1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

fix: db type (#3180)

This commit is contained in:
Mateusz Kwasniewski 2023-02-22 11:15:46 +01:00 committed by GitHub
parent 53c82d798f
commit 909d709089
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}