title: How to create vector of strings in javascript (TypeScript) Flatbuffers?
body: <p>is there any way how to create vector of strings in TypeScript?
  I already tried lot of things but nothing worked.</p>
  
  <p>I evean tried to created "covering tabel in schema StringArray" like this:</p>
  
  <blockquote>
    <p>table StringArray {   items:[string]; }</p>
  </blockquote>
  
  <p>And I'm trying to use it like this:</p>
  
  <pre><code>let builder: flatbuffers.Builder = new flatbuffers.Builder();
  
  
  let offsets : Array&lt;flatbuffers.Offset&gt;;
  offsets = new Array&lt;flatbuffers.Offset&gt;(2);
  
  offsets[0] = builder.createString("hello");
  offsets[1] = builder.createString("world");
  
  let offsetOfStrings = messaging.StringArray.createItemsVector(builder, offsets);
  
  // create message
  messaging.StringArray.startStringArray(builder);
  messaging.StringArray.addItems(builder, offsetOfStrings);
  let serialized = messaging.Message.endMessage(builder);
  
  builder.finish(serialized);
  let data = builder.asUint8Array();
  </code></pre>
  
  <p>But is it right way? Isnt`t there something like right better and shorter way ?</p>