Components
Components
Code Block
console.log('Hello World');Twoslash Example
Twoslash provides inline type information and error checking in your code blocks:
const greeting: string = "Hello World";.();
const numbers = [1, 2, 3];const doubled = .( => * 2);Advanced TypeScript Example
interface User {
: number;
: string;
: string;
}
const : User = {
: 1,
: "John Doe",
: "john@example.com"
};
// Hover over these to see type information
.name;Error Highlighting
const num: number = "not a number";Cards
How is this guide?

