Skip to content

Latest commit

 

History

History
45 lines (33 loc) · 503 Bytes

File metadata and controls

45 lines (33 loc) · 503 Bytes

typelab / aliases / Array

type Array<T> = T[];

Type that represents an array with elements of type T.

Type Parameters

Type Parameter Default type Description

T

Any

The type of the elements in the array, defaults to any.

Example

// MyArray is string[]
type MyArray = Array<string>;