mirror of
https://github.com/darksaid98/oxmysql.git
synced 2026-12-04 06:28:53 +00:00
fix(db): Define pool type
This commit is contained in:
1 parent
e0a2a41870
commit
895d08ef0f
1 file changed
+2
-2
@@ -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 { connectionOptions, mysql_transaction_isolation_level } from '../config';
|
||||||
import { typeCast } from '../utils/typeCast';
|
import { typeCast } from '../utils/typeCast';
|
||||||
|
|
||||||
let pool;
|
let pool: Pool;
|
||||||
let serverReady = false;
|
let serverReady = false;
|
||||||
|
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
|
|||||||
Reference in new issue
Block a user