Typescript Generics

for those who gave up on Generics

 

 

 

Confused by generics code like this?

 

function makePair<F extends number | string, S extends boolean | F>()
Made with Slides.com