diff --git a/docs/api/permission.md b/docs/api/permission.md index 3faf39d8..18ba75cb 100644 --- a/docs/api/permission.md +++ b/docs/api/permission.md @@ -42,7 +42,7 @@ Permission(async_function, run_sync(sync_function)) * **参数** - * `*checkers: T_PermissionChecker`: PermissionChecker + * `*checkers: Union[T_PermissionChecker, Handler]`: PermissionChecker diff --git a/docs/api/rule.md b/docs/api/rule.md index f11525dc..ee33cd91 100644 --- a/docs/api/rule.md +++ b/docs/api/rule.md @@ -42,7 +42,7 @@ Rule(async_function, run_sync(sync_function)) * **参数** - * `*checkers: T_RuleChecker`: RuleChecker + * `*checkers: Union[T_RuleChecker, Handler]`: RuleChecker