TypescriptTutor
@TypescriptTutor
Daily TS tips and answered questions
You might like
🥳🎉 TypeScript 4.0 is here! 🎉🥳 Read up on what's new and get it today! devblogs.microsoft.com/typescript/ann…
What feature are you most excited in #Typescript v4? devblogs.microsoft.com/typescript/ann…
Which go you use more often?
22 vote · Final results
As of Typescript 3.7, you can use the “?.” syntax called “Optional Chaining” to safely navigate deep properties that might be undefined. typescriptlang.org/docs/handbook/…
Use an abstract class to define methods to be implemented in classes that extend it. Typescript will throw compiler errors if they aren’t implemented correctly. typescriptlang.org/docs/handbook/…
A nice little treat from Typescript 3.8, you can now export * as namespace! Check it out!
Have a hard time remembering the difference between for..in and for..of loops? for *in* iterated *IN*dexes for *of* iterates *o*bjects (or the elements of the iterable)
The “Parameters” built-in utility type returns a tuple type describing the arguments passed to a provided function signature. Any terms there you don’t understand? Just ask! There’s no such thing as a bad question. typescriptlang.org/docs/handbook/…
The “NonNullable” built-in utility type removes the possibility of `undefined` or `null` from a type. typescriptlang.org/docs/handbook/…
One more #TypescriptQuiz today! Which element does not belong in an array of the following type? Array<Record<string, string | number>>
The “Extract” built-in utility type filters only the types from the first that are included in the second argument. typescriptlang.org/docs/handbook/…
The “Exclude” built-in utility type removes all types from the first argument that match match the second argument. typescriptlang.org/docs/handbook/…
The “Omit” built-in uitility type is used to keep all properties of a given type *except* for the ones passed in the second argument. typescriptlang.org/docs/handbook/…
If you're interested in TypeScript, go follow @TypescriptTutor immediately , they're just starting and I absolutely love the trend (?) of "Daily X tips"
The “Pick” built-in utility type is used for selecting a subset of keys from another type. Every key you want must be listed as the second argument. typescriptlang.org/docs/handbook/…
United States Trends
- 1. Sesko 38.8K posts
- 2. Ugarte 13.4K posts
- 3. Richarlison 18.5K posts
- 4. Amorim 63.2K posts
- 5. Good Saturday 30K posts
- 6. De Ligt 21.6K posts
- 7. Cunha 24.6K posts
- 8. Tottenham 75.6K posts
- 9. #SaturdayVibes 4,200 posts
- 10. GAME DAY 12.3K posts
- 11. #TOTMUN 16.1K posts
- 12. Casemiro 20.6K posts
- 13. #MUFC 22.9K posts
- 14. #Caturday 4,318 posts
- 15. Manchester United 81.6K posts
- 16. Dalot 11.8K posts
- 17. Lando 36.7K posts
- 18. Vicario 1,882 posts
- 19. #BrazilGP 64.7K posts
- 20. Man United 35K posts
You might like
-
Neal Davis
@nealkdavis -
Molly Struve 🦄
@molly_struve -
Davide Bellone | Code4it.dev | Microsoft MVP
@BelloneDavide -
Deckset
@decksetapp -
Tim Deschryver
@tim_deschryver -
Przemek Smyrdek ✨
@psmyrdek -
Aurelia
@AureliaEffect -
Alex Moldovan is on 🦋
@alexnmoldovan -
Nearform Open Source
@nearform_os -
Claudio Bernasconi
@CHBernasconiC -
Art of the Problem
@Artoftheproblem -
Zak Hoosen
@zak_hoosen -
Andy Ingram 🌀
@andrewingram -
Petr Bela
@petrbela -
Michał Janiszewski
@mjaniszew
Something went wrong.
Something went wrong.