You are viewing a single comment's thread. Return to all comments →
in TS
function printArray<T>(arr: T[]) { arr.forEach(i => console.log(i)) }
Seems like cookies are disabled on this browser, please enable them to open this website
Day 21: Generics
You are viewing a single comment's thread. Return to all comments →
in TS