Type alias ReadOnlyArray<Item>

ReadOnlyArray<Item>: ReadonlyArray<Item>

Read-only array.

Example

const array: ReadOnlyArray<number> = [1, 2, 3];

Type Parameters

  • Item = unknown