#JSON with Typescript
11 messages · Page 1 of 1 (latest)
string[]
same with your outer object
wdym with outer object?
vvvvvvv-- the "outer object"
[{ ... }]
^- this-^
i mean it should probably be {}[] not [{}]
11 messages · Page 1 of 1 (latest)
How do I define that this: vv
[{"name":string, "commands": [string]}]
can contain any amount of strings instead of only one?
string[]
same with your outer object
wdym with outer object?
vvvvvvv-- the "outer object"
[{ ... }]
^- this-^
i mean it should probably be {}[] not [{}]