This should be `{(string|Array.<string>)}` since is an union type.
Same for lines 522, 646 and 647.