본문으로 건너뛰기
아카데미
중급 코드 지구

TypeScript

버그를 일찍 잡아 주는 타입을 더한 JavaScript.

TypeScript is JavaScript plus a type system that catches bugs before your code runs, and it is one of the most popular languages in web development. This track takes you from your first type annotation to the patterns real-world apps use every day: object types, unions and narrowing, generics, utility and mapped types, satisfies, and validating API data at runtime.

You already know JavaScript, so every lesson goes straight to what TypeScript adds, and the quizzes make sure you truly understand what the compiler does.

레슨
23
시간
3시간
난이도
중급

이 코스의 레슨은 당분간 영어로 제공돼요.

  • 브론즈 도전 가능
  • 실버 도전 가능
  • 골드 잠김

실력을 증명할 준비됐나요?

브론즈, 실버, 골드 세 가지 시험이 기다리고 있어요.

시험 보러 가기

이 코스를 마치면 할 수 있는 것

  • Set up a strict TypeScript project and know what tsc and Node.js each do
  • Describe posts, users and API responses with precise types
  • Model API states with discriminated unions and let the compiler check every case
  • Write reusable generic functions and types
  • Derive new types with utility, mapped and conditional types
  • Validate JSON from the network so your types tell the truth

여정

  1. 1
    챕터 1

    Why TypeScript

    What types buy you, how tsc and tsconfig work, and how Node.js runs TypeScript files.

    0 / 3
  2. 2
    챕터 2

    Everyday types

    Primitives, inference, arrays, tuples, literal types, and the difference between any and unknown.

    0 / 4
  3. 3
    챕터 3

    Modeling objects

    Describe posts, users and API payloads with interfaces, type aliases and Record.

    0 / 4
  4. 4
    챕터 4

    Unions and narrowing

    Values that can be one of several types, and how TypeScript follows your checks.

    0 / 4
  5. 5
    챕터 5

    Generics

    Write one function or type that works for many types without losing safety.

    0 / 3
  6. 6
    챕터 6

    Advanced types in practice

    Utility, mapped and conditional types, satisfies, as const, and validating JSON at runtime.

    0 / 5

빠른 탐색