65 items
Union Type Narrowing Mistake
Code QuizType Inference and Union Types
QuizTypeScript Type System Basics
Slides / VideoTypes, Interfaces, Unions & Inference
FlashcardInterface Property Type Mismatch
Code QuizInterfaces and Type Annotations
QuizBasic Types, Interfaces & Annotations
Slides / VideoBasic Types & Interfaces
FlashcardObject type annotations
FlashcardUnion Types in TypeScript
Slides / VideoLiteral Types in TypeScript
Slides / VideoThe never Type in TypeScript
Slides / VideoThe unknown Type in TypeScript
Slides / VideoThe void Type in TypeScript
Slides / VideoThe null and undefined Types
Slides / VideoTuple Types in TypeScript
Slides / VideoArray Types in TypeScript
Slides / VideoEnums: Numeric and String
Slides / VideoType Assertions in TypeScript
Slides / VideoThe bigint and symbol Primitives
Slides / VideoOptional Properties in Object Types
Slides / VideoInline Object Type Annotations
Slides / VideoThe Object Type in TypeScript
Slides / VideoType Aliases with the type Keyword
Slides / Videobigint Type
Code QuizOptional Object Properties
Code QuizThe symbol Type
Code QuizThe never Type
Code QuizReadonly Property Modifier
Code QuizVariable Declarations with Types
Code QuizFunction Parameter Type Annotations
Code QuizType Assertions with as
QuizOptional and Default Parameters
QuizFunction Parameter Annotations
QuizOptional Properties
QuizTuple Types Basics
QuizThe symbol Type
QuizType Aliases
QuizInline Object Type Annotations
QuizThe bigint Type
QuizUnion Types
QuizThe never Type
QuizEnum Types
QuizFunction Return Type Annotations
QuizLiteral Types
QuizThe enum type
FlashcardOptional function parameters
FlashcardThe null type
FlashcardFunction parameter types
FlashcardOptional properties
FlashcardThe void return type
FlashcardThe undefined type
FlashcardDefault parameter values
FlashcardType aliases
Flashcardany vs unknown
FlashcardArray type syntax
FlashcardLiteral types
FlashcardGeneric array syntax
FlashcardTuple types
Flashcardconst and readonly basics
FlashcardThe unknown type
FlashcardThe never type
FlashcardUnion types
FlashcardType assertions
FlashcardFunction return types
FlashcardOptional Properties
A ? after a property name marks it optional so it may be omitted.
In the type { name: string; age?: number }, what does the ? on age mean?