Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 1005 Bytes

stackblitz - 1328353096179789824.md

File metadata and controls

23 lines (15 loc) · 1005 Bytes
author handle source date
StackBlitz
@stackblitz
2020-11-16 15:03:52 UTC

stackblitz StackBlitz (@stackblitz) - November 16, 2020 at 11:03 PM

💡 TypeScript tip (6):

If your function/class will work with multiple types but they need to meet some minimal criteria, you can specify the minimal shape a generic must have by extending it:

<T extends MyBaseType> pic.twitter.com/F74tddnmdU

stackblitz.-.1328353096179789824.mp4

Download mp4

Tweet link

Thread by @stackblitz on Threadify Reader App