method Type.prototype.getUnionTypesimport { Type } from "https://deno.land/x/ts_morph@16.0.0/mod.ts"; getUnionTypes(): Type[]Gets the union types (ex. for T | U it returns the array [T, U]). Gets the union types (ex. for T | U it returns the array [T, U]). ReturnsType[]