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

1.2.实现Pick #6

Open
paiDaXing-web opened this issue Nov 11, 2022 · 0 comments
Open

1.2.实现Pick #6

paiDaXing-web opened this issue Nov 11, 2022 · 0 comments
Assignees
Labels
answer 答案

Comments

@paiDaXing-web
Copy link
Owner

type MyPick<T, K extends keyof T> = {

  [P in K]:T[P]
};
@paiDaXing-web paiDaXing-web added the answer 答案 label Nov 11, 2022
@paiDaXing-web paiDaXing-web self-assigned this Nov 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answer 答案
Projects
None yet
Development

No branches or pull requests

1 participant