Type alias EmptyArray

EmptyArray: readonly []

Empty array.

Remarks

This is a type alias for an readonly empty array. Trying to access items on it should give a compile-time error.

Example

const emptyArray: EmptyArray = [];