[array-type] ReadonlyArray is regarded as Array #4080
Labels
bug
Something isn't working
good first issue
Good for newcomers
package: eslint-plugin
Issues related to @typescript-eslint/eslint-plugin
Hi there,
ReadonlyArray is regarded as Array in
array-type
rule. Similarly, readonly T[] is regarded to be the same as T[].Repro
Here is an example of
'array'
.Expected Result
Actual Result
Additional Info
#4066
Versions
@typescript-eslint/eslint-plugin
5.2.0
@typescript-eslint/parser
5.2.0
TypeScript
4.4.4
ESLint
8.1.0
node
16.13.0
The text was updated successfully, but these errors were encountered: