Here is a common typescript interview question that can be solved in two ways. Function overloads and conditional types. In this video I explain how to solve it using a conditional type
Follow me on Twitter / uthpalax
#typescript #interview #questions