Skip to content
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

Discriminate getAllContents return type based on input content type #53

Merged
merged 1 commit into from
Oct 29, 2023

Conversation

robertying
Copy link
Contributor

自动根据传入 type 推断返回内容的类型。

switch 的地方实在想不到什么简洁的办法了。

@Harry-Chen Harry-Chen merged commit ad1a6b0 into Harry-Chen:master Oct 29, 2023
2 checks passed
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.

2 participants