Skip to content
public-library›Rules›TypeScript›Use one array type syntax

Use one array type syntax

Write array types with the generic syntax, Array<T> and ReadonlyArray<T>, and enforce it with a lint rule.

In the full rule