Loading…
A simple intro to recipes and step-by-step guides.
Get comfortable with how recipes work. This guide walks you through creating and running a basic script.
Start by creating a new directory for your work and a TypeScript file inside it.
mkdir hello-world
cd hello-world
touch greet.tsOpen `greet.ts` and add a simple function that logs a message.
function greet(name: string): void {
console.log(`Hello, ${name}!`);
}
greet("World");