connection.d.ts 339 B

1234567
  1. import mysql from 'mysql2/promise';
  2. declare const getPool: () => mysql.Pool;
  3. export declare const executeQuery: (query: string, params?: any[]) => Promise<any>;
  4. export declare const testConnection: () => Promise<boolean>;
  5. export declare const closePool: () => Promise<void>;
  6. export default getPool;
  7. //# sourceMappingURL=connection.d.ts.map