Generics
function displayUser<T, U>(name: T, id: U) {
console.log(`${name} ${id}`)
}
displayUser<string, string>("John", "1");
function displayUser<T, U>(name: T, id: U) {
console.log(`${name} ${id}`)
}
displayUser<string, number>("John", 1);