fix(db): Define pool type

This commit is contained in:
Linden committed 2022-03-02 22:56:47 +11:00
1 parent e0a2a41870
commit 895d08ef0f
1 file changed
+2 -2
+2 -2
View File
@@ -1,8 +1,8 @@
import { createPool, QueryError } from 'mysql2/promise';
import { createPool, QueryError, Pool } from 'mysql2/promise';
import { connectionOptions, mysql_transaction_isolation_level } from '../config';
import { typeCast } from '../utils/typeCast';
let pool;
let pool: Pool;
let serverReady = false;
setTimeout(() => {