Do I master Typescript if I master Javascript ? Is Typescript syntax different ? Answers appreciated, thank you !

  • @[email protected]
    link
    fedilink
    English
    411 months ago

    To be a superset, all elements of the subset must be contained within the superset.

    TypeScript is a superset of JavaScript as valid JS code(just with everything implicitly the any type) is valid TS code.

    • @nbafantest
      link
      0
      edit-2
      11 months ago

      Oh yeah if you add some sort of typing to the Javascript, sure.