Feature: 添加遗漏的类型标注 (#2856)

This commit is contained in:
Ju4tCode
2024-08-06 14:19:17 +08:00
committed by GitHub
parent 976c1cd8e0
commit c97a780645
5 changed files with 36 additions and 36 deletions

View File

@ -76,7 +76,7 @@ T = TypeVar("T")
current_bot: ContextVar[Bot] = ContextVar("current_bot")
current_event: ContextVar[Event] = ContextVar("current_event")
current_matcher: ContextVar["Matcher"] = ContextVar("current_matcher")
current_handler: ContextVar[Dependent] = ContextVar("current_handler")
current_handler: ContextVar[Dependent[Any]] = ContextVar("current_handler")
@dataclass