The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

Distinguishing between types of Strings in TypeScript

Distinguishing between types of Strings in TypeScript

2:02
In JavaScript, many libraries use string arguments to change behavior. In this lesson we learn how Typescript catches string related errors at compile time by assigning a string literal as a type.
Watch this lesson now
Avatar
egghead.io

In JavaScript, many libraries use string arguments to change behavior. In this lesson we learn how Typescript catches string related errors at compile time by assigning a string literal as a type.

Avatar
DANIEL

What are you using to write this? eclipse? storm?

Avatar
Ari

Hey Daniel, I'm using Webstorm's Darcula theme.

In reply to DANIEL
HEY, QUICK QUESTION!
Joel's Head
Why are we asking?