feat: Add types knex field of global

This commit is contained in:
Faruk AYDIN
2023-10-03 23:40:12 +02:00
parent 3703390268
commit 04a78ee0ba
2 changed files with 10 additions and 4 deletions
+7
View File
@@ -0,0 +1,7 @@
import { Knex } from 'knex';
declare global {
declare namespace globalThis {
var knex: Knex;
}
}