Closed beaucollins closed 1 year ago
Latest commit: a749ae841470b0040b80bda592ff2cf0b3946478
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Updated |
---|---|---|---|
cmd-ts | ❌ Failed (Inspect) | Jan 11, 2023 at 7:45PM (UTC) |
Thank you!
My pleasure! Thanks for cmd-ts
!
readonly T[]
is a subset ofT[]
Ideally we could do this:
https://www.typescriptlang.org/play?#code/JYWwDg9gTgLgBAKjgQwM5wMYgCZwGZQQhwDkW2AtDKiQNwCwAUExhAHarwRgzDvoBeOAG0SyEgBpSAI0mkMJALop0rDjAbNGaznG692cIeQB07AKYB5PAAp9fDgEpaQA
One workaround is using
.slice()
to turn it into a non-readonly array