这是indexloc提供的服务,不要输入任何密码
Skip to content

refactor: refine ServerPayload type using a union with mode as discriminant #701

New issue

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

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

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 7, 2025

Conversation

marcalexiei
Copy link
Collaborator

Checklist

Related issue

Fixes #700

@github-actions github-actions bot added the typescript Requires typescript knowledge label Apr 3, 2025
@marcalexiei

This comment was marked as resolved.

@marcalexiei marcalexiei changed the title Server payload union refactor: refine ServerPayload type using a union with mode as discriminant Apr 3, 2025
@marcalexiei marcalexiei self-assigned this Apr 3, 2025
@marcalexiei marcalexiei force-pushed the server-payload-union branch from 6507730 to 9d806a7 Compare April 3, 2025 06:57
@marcalexiei marcalexiei marked this pull request as ready for review April 3, 2025 07:04
@marcalexiei marcalexiei closed this Apr 3, 2025
@marcalexiei marcalexiei removed their assignment Apr 3, 2025
@Valerioageno Valerioageno reopened this Apr 5, 2025
Copy link
Member

@Valerioageno Valerioageno left a comment

Choose a reason for hiding this comment

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

Thanks!

@Valerioageno Valerioageno merged commit f3cf9b0 into main Apr 7, 2025
57 checks passed
@Valerioageno Valerioageno deleted the server-payload-union branch April 7, 2025 06:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
typescript Requires typescript knowledge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refine ServerPayload types using a union with mode as discriminant
2 participants