We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I frequently need the common type: Dictionary<T = unknown> = Record<string, T>, common for JS objects
Dictionary<T = unknown> = Record<string, T>
All TS users typing Record<string, T> objects, who want a shorthand
Record<string, T>
Just use Record<string, ...> everywhere
Record<string, ...>
:)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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 objectsDescribe 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 shorthandDescribe alternatives you've considered (optional)
Just use
Record<string, ...>
everywhereAdditional context (optional)
:)
The text was updated successfully, but these errors were encountered: