feat: 补充插件类型声明

This commit is contained in:
ningmengchongshui 2024-06-12 10:46:26 +08:00
parent 884b21c7ae
commit 1c2d1757b3
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ type PluginSuperType = {
* rule.permission master,owner,admin,all
*/
rule?: {
reg?: RegExp,
reg?: RegExp | string,
fnc?: string,
event?: keyof EventMap,
log?: boolean