mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-06-08 14:34:13 +08:00
更新声明文件
This commit is contained in:
parent
da772d2bc5
commit
efee673358
12
src/plugins/monaco/types/quickcommand.api.d.ts
vendored
12
src/plugins/monaco/types/quickcommand.api.d.ts
vendored
@ -360,6 +360,18 @@ interface quickcommandApi {
|
||||
* 此时可以用此接口呼出 uTools 窗口
|
||||
*/
|
||||
wakeUtools();
|
||||
|
||||
/**
|
||||
* 读剪贴板
|
||||
*/
|
||||
readClipboard(): text<string>;
|
||||
|
||||
/**
|
||||
* 写剪贴板
|
||||
*
|
||||
* @param txt 要写入的文本
|
||||
*/
|
||||
writeClipboard(txt: string);
|
||||
}
|
||||
|
||||
declare var quickcommand: quickcommandApi;
|
||||
|
Loading…
x
Reference in New Issue
Block a user