-
-
Notifications
You must be signed in to change notification settings - Fork 230
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
$ReadOnly<T> has a typo in its documentation #156
Comments
BTW, some npm scripts don't work well on Windows. Any plan for compatibility? |
8 tasks
piotrwitek
pushed a commit
that referenced
this issue
Oct 25, 2020
You're right, thanks for the fix! I'm not using windows so I cannot help, but if you can add Windows compatibility it would be great! |
Gotcha. Will look into it if time permits. Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
The documentation for
$ReadOnly<T>
seems to have a typo.The example shows that
age
is converted to an optional property after being applied$ReadOnly
. I thinks it's a typo becauseage
should be an ordinary readonly property just likename
andvisible
.Steps to Reproduce
Expected Behavior
Suggested Solution(s)
Modify the documentation in README.md and comments in utility-types.ts
Project Dependencies
Environment (optional)
The text was updated successfully, but these errors were encountered: