lint: add config global to extensions

This commit is contained in:
KernelDeimos
2025-10-01 16:58:46 -04:00
parent 7137d1a178
commit 36ddad0ecc
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -67,6 +67,7 @@ export default defineConfig([
languageOptions: {
globals: {
extension: 'readonly',
config: 'readonly',
...globals.node,
},
},
+1
View File
@@ -43,6 +43,7 @@ interface Extension extends RouterMethods {
declare global {
// Declare the extension variable
const extension: Extension;
const config: { [k: string | number | symbol]: unknown };
}
export {};