You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What version of Ajv are you using? Does the issue happen if you use the latest version?
8.12.0
Ajv options object
none
Your code
typeAB='a'|'b'consts1={enum: ['a','b']}asconstconstenum1: JTDSchemaType<AB> = s1
// error: The type 'readonly ["a", "b"]' is 'readonly' and cannot be assigned to the mutable type 'AB[]'.
What results did you expect?
Assignment should be possible.
Are you going to resolve the issue?
I can prepare a PR
The text was updated successfully, but these errors were encountered:
What version of Ajv are you using? Does the issue happen if you use the latest version?
8.12.0
Ajv options object
none
Your code
What results did you expect?
Assignment should be possible.
Are you going to resolve the issue?
I can prepare a PR
The text was updated successfully, but these errors were encountered: