Can a typescript function output 2 different data types

join shbcf.ru