This TODO is here because of a bug in jsDoc that needs to be fixed.  If we move the exception to the doc, where it belongs, it ends up documenting the properly incorrectly and instead makes the type DeveloperError instead of Array.