Skip to content

Commit 18d0d4f

Browse files
committed
Fix global registration for lint
1 parent 2ba31a7 commit 18d0d4f

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

.oxlintrc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
"es2024": true
3030
},
3131
"globals": {
32+
"Compartment": "readonly",
3233
"server": "readonly",
3334
"databases": "readonly",
3435
"tables": "readonly",

security/jsLoader.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,6 @@ async function loadModuleWithVM(moduleUrl: string, scope: Scope) {
279279
return entryModule.namespace;
280280
}
281281

282-
declare class Compartment extends CompartmentClass {}
283282
async function getCompartment(scope: Scope, globals) {
284283
const { StaticModuleRecord } = await import('@endo/static-module-record');
285284
require('ses');

0 commit comments

Comments
 (0)