Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add type guards for NodeOrText #830

Merged
merged 4 commits into from
Nov 28, 2024
Merged

Add type guards for NodeOrText #830

merged 4 commits into from
Nov 28, 2024

Conversation

tushuhei
Copy link
Member

Use user-defined type guards to handle Node vs string in a more IDE-friendly way.

@tushuhei tushuhei requested a review from kojiishi November 28, 2024 02:05
@tushuhei tushuhei requested a review from kojiishi November 28, 2024 13:02
Copy link
Collaborator

@kojiishi kojiishi left a comment

Choose a reason for hiding this comment

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

lgtm

@tushuhei tushuhei merged commit 2e89bb6 into main Nov 28, 2024
26 checks passed
@tushuhei tushuhei deleted the typeguard-nodeortext branch December 27, 2024 12:43
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants