feat: Add types knex field of global
This commit is contained in:
7
packages/backend/src/types/global.d.ts
vendored
Normal file
7
packages/backend/src/types/global.d.ts
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
import { Knex } from 'knex';
|
||||
|
||||
declare global {
|
||||
declare namespace globalThis {
|
||||
var knex: Knex;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user