mirror of
https://github.com/HeyPuter/puter.git
synced 2026-05-04 00:20:45 +00:00
lint: add config global to extensions
This commit is contained in:
@@ -67,6 +67,7 @@ export default defineConfig([
|
||||
languageOptions: {
|
||||
globals: {
|
||||
extension: 'readonly',
|
||||
config: 'readonly',
|
||||
...globals.node,
|
||||
},
|
||||
},
|
||||
|
||||
Vendored
+1
@@ -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 {};
|
||||
|
||||
Reference in New Issue
Block a user