You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
declare module 'postgres-bridge'{import{PoolConfig,Pool}from'pg';// Importing specific types from pgimportpostgresfrom'postgres';// Importing the default export from postgres moduleexportclassPostgresBridge{constructor(configuration: PoolConfig);/** Connect to the database */connect(): Promise<Pool>;}// Type alias for the default import of postgres moduletypePostgresLib=typeofpostgres;/** * Factory function to create a PostgresBridge instance * @param postgres - the postgres library instance */exportfunctioncreatePostgresBridge(postgres: PostgresLib): typeofPostgresBridge;}
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: