Tech Blog

Getting Started with TypeScript 6

1분 읽기Frontend

Introduction

TypeScript 6 brings exciting new features to the table.

Key Features

  • Stricter defaults: strict is now enabled by default
  • ES2025 target: Modern JavaScript output by default
  • Performance: Faster type checking

Code Example

function greet(name: string): string {
  return `Hello, ${name}!`;
}

const result = greet("World");

GFM Table

Feature TS5 TS6
Strict default
ES2025 target

TypeScript 6 is a game changer for modern web development.

Math Example

The time complexity is O(nlogn)O(n \log n).

i=1ni=n(n+1)2\sum_{i=1}^{n} i = \frac{n(n+1)}{2}