Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
RaoHai committed Jan 30, 2024
1 parent 1cbc1ed commit 734fa78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/types.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { AsyncLocalStorage } from 'node:async_hooks';
import type { PoolConnection,PoolOptions, ConnectionConfig } from 'mysql2';
import type { PoolConnection, PoolOptions, ConnectionConfig } from 'mysql2';
import { RDSTransaction } from './transaction';

export type GetConnectionConfig = () => Partial<ConnectionConfig>;

export interface RDSClientOptions extends PoolOptions {
connectionStorageKey?: string;
connectionStorage?: AsyncLocalStorage<Record<PropertyKey, RDSTransaction>>;
getConnectionConfig?: GetConnectionConfig
getConnectionConfig?: GetConnectionConfig;
}

export interface PoolConnectionPromisify extends Omit<PoolConnection, 'query'> {
Expand Down

0 comments on commit 734fa78

Please sign in to comment.