Skip to content

feat: support scanning QRcode to login#2

Open
frostming wants to merge 1 commit intoepiral:mainfrom
frostming:fix/scan-qr
Open

feat: support scanning QRcode to login#2
frostming wants to merge 1 commit intoepiral:mainfrom
frostming:fix/scan-qr

Conversation

@frostming
Copy link
Copy Markdown

Signed-off-by: Frost Ming me@frostming.com

Signed-off-by: Frost Ming <me@frostming.com>
from typing import TYPE_CHECKING, Literal, TypedDict

try:
if TYPE_CHECKING:
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To fix the issues that typecheckers can't correctly detect MessageItem fields as NotRequired.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant