Skip to content

Commit

Permalink
fix: fix KnexConnection import
Browse files Browse the repository at this point in the history
  • Loading branch information
dziraf authored Apr 19, 2023
1 parent d65b120 commit fe79291
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/dialects/base-database.parser.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
/* eslint-disable @typescript-eslint/no-unused-vars */
/* eslint-disable class-methods-use-this */
import { Knex, knex as KnexConnection } from 'knex';
import type { Knex } from 'knex';
import KnexModule from 'knex';

import { DatabaseMetadata, ResourceMetadata } from '../metadata/index.js';

import { ConnectionOptions } from './types/index.js';

import { DatabaseDialect } from './index.js';

const KnexConnection = KnexModule.knex;

export class BaseDatabaseParser {
protected knex: Knex;

Expand Down

0 comments on commit fe79291

Please sign in to comment.