Skip to content

Commit e45fd85

Browse files
committed
feat(ScriptAPI): add support for retrieving current plugin information
1 parent 1d5c751 commit e45fd85

File tree

1 file changed

+5
-0
lines changed
  • platforms/javascript/src/ScriptAPI

1 file changed

+5
-0
lines changed

platforms/javascript/src/ScriptAPI/Li.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,11 @@ declare namespace ll {
9090
*/
9191
function getPluginInfo(name: string): Plugin
9292

93+
/**
94+
* 获取当前插件的信息
95+
*/
96+
function getCurrentPluginInfo(): Plugin
97+
9398
/**
9499
* 列出所有已加载的插件
95100
* @returns 列出所有已加载的插件

0 commit comments

Comments
 (0)