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

DH-14581: ValueOf<T> TypeScript utility type #1202

Closed
bmingles opened this issue Apr 4, 2023 · 0 comments · Fixed by #1203
Closed

DH-14581: ValueOf<T> TypeScript utility type #1202

bmingles opened this issue Apr 4, 2023 · 0 comments · Fixed by #1203
Assignees
Labels
enhancement New feature or request triage Issue requires triage

Comments

@bmingles
Copy link
Contributor

bmingles commented Apr 4, 2023

Supporting Enterprise DH-14581
As a developer, I want a cleaner way to extract the value type of an object. Instead of

typeof x[keyof typeof x]

I want to be able to use

ValueOf<typeof x>
@bmingles bmingles added enhancement New feature or request triage Issue requires triage labels Apr 4, 2023
@bmingles bmingles self-assigned this Apr 4, 2023
bmingles added a commit to bmingles/web-client-ui that referenced this issue Apr 4, 2023
bmingles added a commit that referenced this issue Apr 4, 2023
@bmingles bmingles changed the title ValueOf<T> TypeScript utility type DH-14581: ValueOf<T> TypeScript utility type Apr 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request triage Issue requires triage
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant