TypeScript Objects and Interfaces | TypeScript Tutorial

Veröffentlicht am: 10 März 2023
auf dem Kanal: DanCanCode
773
21

In this TypeScript tutorial video I cover defining types for objects. Structured data of key-value pairs is incredibly common, and TS helps us with preventing errors, typos, and exploring with code completion. I cover the type and interface keywords as well as the typeof operator to help with narrowing data types when required. Let me know what you think in the comments below.

Learn TypeScript Playlist:    • Learn TypeScript  

Matt Pocock's video
TypeScript: Should you use Types or Interfaces?
   • [DEPRECATED] TypeScript: Should you use Ty...  

You can also find me on:
Twitch:   / dancancode  
Twitter:   / dancancode  

Rugged Software
Business contact: https://www.ruggedsoftware.dev/

00:00 Intro
00:08 Typing Objects
01:00 Code Completion
01:30 Explore an API
02:22 Nested Objects in Types
02:48 Interface and Type Keywords
04:44 Optional Properties
05:41 Narrowing Types
08:13 typeof Operator
09:21 Next video
09:51 Outro


Auf dieser Seite können Sie das Online-Video TypeScript Objects and Interfaces | TypeScript Tutorial mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer DanCanCode 10 März 2023 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 773 Mal angesehen und es wurde von 21 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!