Skip to content
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

Use ReadonlyArray instead of Array on input args #181

Closed
wants to merge 3 commits into from

Conversation

ckknight
Copy link

@ckknight ckknight commented Apr 17, 2019

The runtime code does not alter the Arrays in question, and it is good form to prefer ReadonlyArray<T> over Array<T> (aka T[]) in the input position when one can.

Fixes #165

The runtime code does not alter the Arrays in question, and it is good form to prefer `ReadonlyArray<T>` over `Array<T>` (aka `T[]`) in the input position when one can.
@jonaskello jonaskello mentioned this pull request Jun 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants