type Response = [number, string]; // [200, "OK"]TypeScript - Advanced Types, Interfaces & Modern Development
Master TypeScript's advanced type system, generic abstractions, and compiler configurations to build scalable, bulletproof JavaScript applications.
Cards in this deck
(21 cards)Preview terms and definitions before starting your study session.
interface declarations with the same name in the same scope automatically merge their definitions into a single combined interface.0 and support reverse mapping (Enum[0]). String enums require explicit string initializers for each member and do not support reverse mapping.interface defines object shapes and supports declaration merging (re-opening types). type aliases can represent objects, primitives, unions, intersections, and tuples, but cannot be re-opened once declared.type Action =
| { type: 'square'; size: number }
| { type: 'rectangle'; width: number; height: number };any vs unknownany disables type checking completely, allowing any operation or property access without verification. unknown is a type-safe counterpart; values of type unknown cannot be accessed, called, or assigned to other typed variables without prior type narrowing or assertions.never Typevoid vs undefinedvoid indicates that a function does not return a meaningful value (its return value is ignored). undefined is a concrete JavaScript primitive value representing an unassigned variable or explicitly missing return value.Related Flashcard Sets
Explore similar study materials created by the community
HSK 1 - Basic Chinese Vocabulary, Pinyin & Character Recognition
Master foundational Mandarin Chinese with this HSK 1 flashcard deck covering essential vocabulary, Pinyin pronunciation rules, tones, and core sentence patterns.
Functional Programming - Immutability, Pure Functions & Higher-Order Functions
Unlock the power of Functional Programming! Master immutability, pure functions, and higher-order functions to write predictable, testable, and concurrent code with this comprehensive flashcard deck.
Neuroscience - Neuroanatomy & Brain Function
Master high-yield neuroanatomy and functional neuroscience concepts with this comprehensive study deck. Perfect for medical students and biology majors covering brain regions, cranial nerves, neuronal action potentials, and major pathways.
Microsoft Azure Administrator (AZ-104) - Compute, Storage & Networking
Master core AZ-104 certification concepts including Microsoft Entra ID, Azure Storage, Virtual Networks, Virtual Machines, and Azure Monitoring with this high-yield flashcard deck.