# 05 타입의 호환성

- [5.0 들어가며](https://ahnheejong.gitbook.io/ts-for-jsdev/05-type-compatibility/intro.md): 다양한 타입 간의 호환성(compatibility), 보다 구체적으로는 타입 간의 할당 가능성(assignability)에 대해 다루어 본다.
- [5.1 기본 타입의 호환성](https://ahnheejong.gitbook.io/ts-for-jsdev/05-type-compatibility/primitive-types.md): 타입스크립트가 기본 타입 간의 호환성을 판단하는 법에 대해 다룬다.
- [5.2 객체 타입의 호환성](https://ahnheejong.gitbook.io/ts-for-jsdev/05-type-compatibility/objects.md): 타입스크립트가 객체 타입 간의 호환성을 판단하는 법에 대해 다룬다.
- [5.3 함수 타입의 호환성](https://ahnheejong.gitbook.io/ts-for-jsdev/05-type-compatibility/functions.md): 타입스크립트가 함수 타입 간의 호환성을 판단하는 법에 대해 다룬다.
- [5.4 클래스의 호환성](https://ahnheejong.gitbook.io/ts-for-jsdev/05-type-compatibility/classes.md): 타입스크립트가 클래스 간의 호환성을 판단하는 법에 대해 다룬다.
- [5.5 제너릭의 호환성](https://ahnheejong.gitbook.io/ts-for-jsdev/05-type-compatibility/generics.md): 타입스크립트가 제너릭 타입 간의 호환성을 판단하는 법에 대해 다룬다.
- [5.6 열거형의 호환성](https://ahnheejong.gitbook.io/ts-for-jsdev/05-type-compatibility/enums.md): 타입스크립트가 열거형 간의 호환성을 판단하는 법에 대해 다룬다.
- [5.7 맺으며](https://ahnheejong.gitbook.io/ts-for-jsdev/05-type-compatibility/outro.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ahnheejong.gitbook.io/ts-for-jsdev/05-type-compatibility.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
