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
@strict modifier is ignored for inline typed arrays.
P.S: I want to make everything strict by default, so I have to add the modifier everywhere.
It would be great to have config property for make everything strict by default,
Thanks for reporting. Indeed, this does not work as the current version of the code applies the JSDoc tags to the array.
As you probably found out already, a workaround would be to extract the type you want strictly validate:
Bug description
@strict
modifier is ignored for inline typed arrays.P.S: I want to make everything strict by default, so I have to add the modifier everywhere.
It would be great to have config property for make everything strict by default,
Input
Expected output
Actual output
Versions
v4.9.5
v3.23.8
The text was updated successfully, but these errors were encountered: