Add method to interface
This commit is contained in:
1 parent
2422fcc83b
commit
ee74584699
2 files changed
+8
No files matched your search
@@ -1,4 +1,7 @@
|
||||
import { Pool } from "pg";
|
||||
|
||||
export interface IDb {
|
||||
connect(): Promise<void>;
|
||||
disconnect(): Promise<void>;
|
||||
getPool(): Pool | null;
|
||||
}
|
||||
Reference in new issue
Block a user