feat: 浏览器自动化操作开发
This commit is contained in:
4
global.d.ts
vendored
4
global.d.ts
vendored
@@ -80,8 +80,8 @@ declare global {
|
||||
warn: (message: string, ...meta?: any[]) => void;
|
||||
error: (message: string, ...meta?: any[]) => void;
|
||||
},
|
||||
// 任务操作
|
||||
taskOperation: (params: any) => Promise<{success: boolean, error?: string}>,
|
||||
// 执行脚本
|
||||
executeScript: (options: any) => Promise<{success: boolean, error?: string}>,
|
||||
}
|
||||
|
||||
interface Window {
|
||||
|
||||
Reference in New Issue
Block a user