typescript union type discriminator

join shbcf.ru