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

rfc: implement Dictionary<T> #170

Open
cdaringe opened this issue Oct 8, 2021 · 0 comments
Open

rfc: implement Dictionary<T> #170

cdaringe opened this issue Oct 8, 2021 · 0 comments

Comments

@cdaringe
Copy link

cdaringe commented Oct 8, 2021

Is your feature request related to a real problem or use-case?

I frequently need the common type: Dictionary<T = unknown> = Record<string, T>, common for JS objects

Describe a solution including usage in code example

Dictionary<T = unknown> = Record<string, T>

Who does this impact? Who is this for?

All TS users typing Record<string, T> objects, who want a shorthand

Describe alternatives you've considered (optional)

Just use Record<string, ...> everywhere

Additional context (optional)

:)

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

No branches or pull requests

1 participant