title: What is the correct way in GJS to define a GObject property for an Array?
body: <p>I see in the <a href="https://github.com/GNOME/gjs/blob/master/modules/overrides/GObject.js" rel="nofollow noreferrer">GJS GObject overrides</a> there are definitions for most types that correspond to Javascript types, but how should I define a property for a standard Array of strings? Some options that have occurred to me:</p>
  
  <ul>
  <li>use TYPE_OBJECT and a GList, but will GJS map this to an Array when I retrieve it?</li>
  <li>use TYPE_OBJECT and a GVariant with an "as" type and unpack it myself</li>
  <li>use TYPE_BOXED and TYPE_ARRAY, but is TYPE_ARRAY comparable to Javascript's Array type?</li>
  </ul>