Skip to content

Commit 09e7b8f

Browse files
committed
typescript fix
1 parent 841b09c commit 09e7b8f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/runtime/content/sandbox.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ export default class SandboxRuntime {
122122
return Promise.resolve(true);
123123
}
124124

125-
enable(script: ScriptRunResource): Promise<boolean> {
125+
enable(script: ScriptRunResource) {
126126
// 如果正在运行,先释放
127127
if (this.execScripts.has(script.id)) {
128128
this.disable(script.id);

0 commit comments

Comments
 (0)