TypeScript Interview Questions - STUMP'd

Поделиться
HTML-код
  • Опубликовано: 20 июн 2024
  • Wes and Scott tackle TypeScript trivia, from combining string literal types to unraveling the mystery of d.ts files. Join them as they challenge each other on conditional types, interfaces, triple-slash directives, and TypeScript records.
    Show Notes
    00:00 Welcome to Syntax!
    01:05 Brought to you by Sentry.io.
    03:20 How do you combine string literal types?
    06:34 What is a TypeScript Generic and why would you use one?
    08:12 How do you write a conditional type?
    09:58 Generating TypeScript type from a function.
    14:09 How do d.ts files work?
    16:25 Name one difference between a type and an interface.
    19:15 What is a tripple-slash directive and why would you use them?
    20:52 What is a TypeScript record and what is it used for?
    All links available at syntax.fm/741
    ------------------------------------------------------------------------------
    Hit us up on Socials!
    Scott: / stolinski
    Wes: / wesbos
    Randy: / @randyrektor
    Syntax: / syntaxfm
    www.syntax.fm
    Brought to you by Sentry.io
    #webdevelopment #webdeveloper #javascript

Комментарии • 6

  • @kyrregjerstad
    @kyrregjerstad 3 месяца назад +1

    Nice episode, got most of these! You got that link to the promise/callback blog post?

  • @brokeloser
    @brokeloser 3 месяца назад

    Everyone: welcome!
    Scott: woooooooooooooooooooeeeelcome to syntax

  • @MaxProgramming
    @MaxProgramming 3 месяца назад

    6:55 To me, the simplest explanation of generics in typescript is "It's a type that's passed as an argument in a function/interface/type/class etc"
    But yea Scott's explanation was also very nice.

  • @mrjelveh
    @mrjelveh Месяц назад

    3:55 I saw you were searching, sorry, but you've got rejected....
    We wish you all the best for your future career and hope to hear from you again soon.
    😁😁😁

  • @ewooral
    @ewooral 3 месяца назад +1

    Great interview but please next time demonstrate it in a code form. thanks