Ketryon

Hello World

Your first TypeScript playground

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 type keyword to create a type alias
  • String literal types are created by using a specific string value as the type
Playground
Ketryon - TypeScript Playground