Hey so i would like a function similar to this:
function filterCh(channels:GuildBasedChannel[], [ChannelType.PrivateThread,ChannelType.PublicThread]:ChannelTypes[])
that should return PrivateThreadChannel| PublicThreadChannel
But it doesnt seem to work at all, i also tried with single types and its only working for single objs