Template Literal with Strings
Here's how we would format strings that begin with a slash:
0:00 The way to do this is by using a template literal bit of syntax here. We're using this little backtick here to indicate that this is a string of a certain value. We're using this dollar sign syntax to add values to it.
0:37 Then here, it's saying, it's not assignable to parameter of type, forward slash string. This string can be zero length of course. This can just be a thing on its own or it can be a thing with multiple of these. If it doesn't have one of these at the start, then it's going to yell at us.
0:55 This is interesting. This lets us be specific with the types of strings that you can pass in. As we'll see, this whole section is going to be on template literals, because they're powerful in typeScript.