category export class List { readonly elements : any [ ] ; param elements constructor ( ... elements ) { this . elements = elements ; } } param elements category export const list = ( ... elements ) : List => new List ( ... elements ) ;