fix: Disable eslint no-var while overriding global
This commit is contained in:
1
packages/backend/src/types/global.d.ts
vendored
1
packages/backend/src/types/global.d.ts
vendored
@@ -2,6 +2,7 @@ import { Knex } from 'knex';
|
||||
|
||||
declare global {
|
||||
declare namespace globalThis {
|
||||
// eslint-disable-next-line no-var
|
||||
var knex: Knex;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user