Skip navigation
TypeScript types can be intimidating to read.
0:00 / 2:03

TypeScript types can be intimidating to read.

Cory House

@housecor172K followers

Visit on X
270 likesDownloadOriginal post

13,951 views

TypeScript types can be intimidating to read. My solution? Break it into pieces. This is a preview of my upcoming new course, "TypeScript: Deep Dive". Publishing in May!

10 Comments

Comments from the original post on X (Twitter)

  • Cory House's profile picture

    @housecor

    And yes, I wear a tie when writing complex types. Serious business.

    21 likes

  • ArkType's profile picture

    @arktypeio

    Nice! Now explain this.

    16 likes

  • Cory House's profile picture

    @housecor

    Any reason you don’t CamelCase your types and type args?

  • Kerem Atam 🔺's profile picture

    @kerematam

    developer in a suit is a red flag. muted, blocked, reported.

    13 likes

  • Cory House's profile picture

    @housecor

    Fair

    7 likes

  • Aldo's profile picture

    @MrAldoJack

    I'm not at this level yet but I'll get there 👐

    1 like

  • Pavel Svitek 🇨🇭's profile picture

    @pavelsvitek_

    You know what would be really powerful? Generate a list of example values for those types on demand, directly in editor. Something like "show me how this is used for real". AI-enabled typing documentation.

    1 like

  • Virgile RIETSCH's profile picture

    @Varkoffs

    nice outfit ! dressed well for the occasion Cory!

    1 like

  • Michał Zakrzewski's profile picture

    @the_mzakrzewski

    tie took my whole focus 😉

    1 like

  • skane_eng's profile picture

    @skane_eng

    Well, it's easier than unscrambling C declarations: char *(*c[10]) (int **p); “c is an array of 10 pointers to functions that each take a pointer to a pointer to an int as an argument and return a pointer to a char.”