In the TypeScript types every array is not any[]. This shows an error when I use readonly arrays in a Schema object. I'm guessing a schema doesn't get modified by validate, so should the types actually use readonly any[]?
I can make a pull request with the changes if this change is approved.
In the TypeScript types every array is not
any[]
. This shows an error when I use readonly arrays in aSchema
object. I'm guessing a schema doesn't get modified byvalidate
, so should the types actually usereadonly any[]
?I can make a pull request with the changes if this change is approved.