Is in Typescript possible to define 'object of arrays of type string? (right position of type checking?)
<p>I know in typescript an object can be typed either by ClassName (ES6 class) or by 'any'.</p>

<p>I also know you can define an array of string (string[]) and even an array of arrays of string (string[][]).</p>

<p>I need to express the type of an <strong>object</strong> whose properties are <strong>only</strong> arrays of type string.</p>

<p>e.g. </p>

<pre><code>export var MY_VAR: any = {
    &lt;string[]&gt; p1: [...]
}
</code></pre>

<p>I tried with something like <strong>any</strong> following <strong>object_name:</strong> but not luck.</p>

<p>I also tried <strong>any</strong> following object_name and  before each object's array.</p>

<p>In either case I have <strong>syntax errors</strong> (see example above)</p>

<p><strong>EDIT</strong> apparently</p>

<pre><code>export var MY_VAR: any = {
    &lt;string[]&gt; p1: [...]
}
</code></pre>

<p>works instead. however I don't understand <strong>what the difference is</strong></p>