@aaronfrost @typescript If I understand you correctly I feel like this falls into “avoid overloading functions”. You can make a function easy to use with unions like this but the function becomes more complex because you need to handle both use cases.