Typescript Generics Deep dive

Generics in function

Generics in classes

function create<T extends GeneralClass>(c: { new (): T }): T {
  return new c()
}

Static methods

Conditional types

abcd abcdeconst

Citate fdsfsdf dffg

sdfsdf

Code:

<div style={{ padding: '20px', backgroundColor: 'tomato' }}>
  <h3>This is JSX in Markdown</h3>  {console.log('hello MDX')}  <div>v</div>
</div>

About the authorPiotr Pietruszka

For the last decade, Maxence Poutord has worked with a variety of web technologies. He is currently focused on front-end development. On his day to day job, he is working as a senior front-end engineer at VSware. He is also an occasional tech speaker and a mentor. As a digital nomad, he is living where the WiFi and sun are 😎
Do you want to know more? Visit my website!