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
What
In Chapter 7: Mutability, Deep Immutability with as const, Solution 2: Inferring Literal Values In Arrays, Option 1: Annotate the Entire Array
Solution 2: Inferring Literal Values In Arrays
The solution is incorrect because we are passing a readonly array to a function that accepts a mutable array.
View in the TypeScript Playground
Suggestion
Perhaps refactor this as "Attempt 1" and explain why it does not work
The text was updated successfully, but these errors were encountered:
today while reading chapter 7, encountered the same issue
Sorry, something went wrong.
No branches or pull requests
What
In Chapter 7: Mutability, Deep Immutability with as const, Solution 2: Inferring Literal Values In Arrays, Option 1: Annotate the Entire Array
Solution 2: Inferring Literal Values In Arrays
The solution is incorrect because we are passing a readonly array to a function that accepts a mutable array.
View in the TypeScript Playground
Suggestion
Perhaps refactor this as "Attempt 1" and explain why it does not work
The text was updated successfully, but these errors were encountered: