I know in typescript an object can be typed either by ClassName (ES6 class) or by 'any'.
I also know you can define an array of string (string[]) and even an array of arrays of string (string[][]).
I need to express the type of an object whose properties are only arrays of type string.
e.g.
export var MY_VAR: any = {
<string[]> p1: [...]
}
I tried with something like any following object_name: but not luck.
I also tried any following object_name and before each object's array.
In either case I have syntax errors (see example above)
EDIT apparently
export var MY_VAR: any = {
<string[]> p1: [...]
}
works instead. however I don't understand what the difference is