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:
parent
53c82d798f
commit
909d709089
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user