-
Notifications
You must be signed in to change notification settings - Fork 735
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
Helper method to get item ids #1793
Labels
Comments
Hi @nathanhleung, thank you for your suggestion. I'll make it as |
@pakrym-stripe Greetings, I would like to pick this up. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
I'm often writing the same TypeScript code to narrow the types returned by the API to extract item IDs. Example:
Describe the solution you'd like
It would be nice if this library included a helper method for this, e.g.
Then I could write
Describe alternatives you've considered
I could just write this function for use in my personal projects, but if this is a common problem/use-case I think including it in the library would be good so others could use it too
Additional context
No response
The text was updated successfully, but these errors were encountered: