Skip to content

Use ReadonlyArray for argument types that aren't modified#1961

Merged
ai merged 1 commit intopostcss:mainfrom
nex3:readonly-array
Aug 20, 2024
Merged

Use ReadonlyArray for argument types that aren't modified#1961
ai merged 1 commit intopostcss:mainfrom
nex3:readonly-array

Conversation

@nex3
Copy link
Copy Markdown
Contributor

@nex3 nex3 commented Aug 20, 2024

This makes it possible for callers to pass in their own
ReadonlyArrays, and implicitly documents that these arguments aren't
modified.

This makes it possible for callers to pass in their own
`ReadonlyArray`s, and implicitly documents that these arguments aren't
modified.
@ai ai merged commit 45a2425 into postcss:main Aug 20, 2024
@nex3 nex3 deleted the readonly-array branch August 20, 2024 00:45
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