title: How to declare an array type that can contain either a string or other array?
body: <p>Here is the variable declaration with type any:</p>
  
  <pre><code>let errorMessagesBag: any = []
  </code></pre>
  
  <p>erroMessagesBag must be able to hold a variable number of values that can be either a string, or a tuple of strings.
  Example</p>
  
  <pre><code>let errorMessagesBag = ["string1", ["tuplestring1", "otherString"], "string2"] // and so on
  </code></pre>
  
  <p>How to replace 'any' with proper type declaration in this case, so it accepts an array that contains  strings OR a tuples of strings  ?</p>