Defining list in typescript

Hi all, I am trying to rewrite one of my cospaces into typescript.
One of the things I cannot find is: how do I define a list?
I saw the ItemCollection as a readonly list - it is for me however not clear how to define such a list.

Can someone please help me out?
Is there any other source of documentation besides the API document?

TIA and regards

Frank

1 Like

Hi @Frank_Claessen,

Typescript 3.5.3 is currently used in CoSpaces. So any online Typescript documentation fits.
You can read about datatypes here, for example
https://www.typescriptlang.org/docs/handbook/basic-types.html#array

2 Likes