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
UnknownArray
Hi @sindresorhus
like UnknownRecord. All array type(e.x. ['foo'], readonly string[], Array<number>)can assign to UnknownArray
UnknownRecord
['foo']
readonly string[]
Array<number>
It's also a helpful type for other type.
type UnknownArray = readonly unknown[]
The text was updated successfully, but these errors were encountered:
UnkownArray
Go for it.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Hi @sindresorhus
like
UnknownRecord
. All array type(e.x.['foo']
,readonly string[]
,Array<number>
)can assign toUnknownArray
It's also a helpful type for other type.
Upvote & Fund
The text was updated successfully, but these errors were encountered: