LogoTabbytab

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 greeting: string
.(); const numbers = [1, 2, 3];
const numbers: number[]
const doubled = .( => * 2);
const doubled: number[]

Advanced TypeScript Example

interface User {
  : number;
  : string;
  : string;
}

const : User = {
  : 1,
  : "John Doe",
  : "john@example.com"
};

// Hover over these to see type information
.name;
User.name: string

Error Highlighting

const num: number = "not a number";
Type 'string' is not assignable to type 'number'.

Cards

How is this guide?

On this page

Today's news
với thông tin
mới nhất

Khám phá những tin tức công nghệ mới nhất được thu thập bởi TabbotAI

Truy cập luôn