• 0 Posts
  • 1.26K Comments
Joined 2 years ago
cake
Cake day: September 20th, 2023

help-circle











  • ryannathans@aussie.zonetoProgrammer Humor@programming.dev;DR blame the dev
    link
    fedilink
    arrow-up
    8
    arrow-down
    1
    ·
    edit-2
    10 days ago

    You write your typescript code to expect a given type but at the end of the day it’s JavaScript with a type checking compiler so when “'any” gets in through a library or interface somewhere you just get a random “undefined” somewhere when you try to perform an operation with it because it’s just JavaScript at the end of the day