-
-
Notifications
You must be signed in to change notification settings - Fork 909
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
chore: add support for readonly arrays #189
Conversation
✔️ Deploy Preview for vigilant-wescoff-04e480 ready! 🔨 Explore the source changes: 62d934b 🔍 Inspect the deploy log: https://app.netlify.com/sites/vigilant-wescoff-04e480/deploys/61e83964196a7e00071a65a2 😎 Browse the preview: https://deploy-preview-189--vigilant-wescoff-04e480.netlify.app |
Is this just enough? I expected something like |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested a bit in TS Playground and everything works find 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Co-authored-by: Shinigami <chrissi92@hotmail.de>
TODO: Revisit to add TS tests once this PR (https://github.com/faker-js/faker/pull/186/files) is merged.
I searched for all parameters that have
T[]
and don't modify the array.