Hello World
Welcome to your first TypeScript playground!
Try It Out
Create a type alias called Greeting that is a string literal type with the value "Hello, World!".
Example
type Greeting = "Hello, World!";Learn More
- Use the
typekeyword to create a type alias - String literal types are created by using a specific string value as the type