# 04 인터페이스와 클래스

- [4.0 들어가며](https://ahnheejong.gitbook.io/ts-for-jsdev/04-interface-and-class/intro.md): 타입스크립트에서 가장 중요하고 자주 쓰이는 두 추상화 수단, 인터페이스와 클래스에 대해 다룬다.
- [4.1 인터페이스 기초](https://ahnheejong.gitbook.io/ts-for-jsdev/04-interface-and-class/interface-basics.md): 인터페이스의 기초적인 개념과 용례를 알아본다.
- [4.2 색인 가능 타입](https://ahnheejong.gitbook.io/ts-for-jsdev/04-interface-and-class/indexable-types.md): 동적인 색인을 표현하는 색인 가능 타입에 대해 다룬다.
- [4.3 인터페이스 확장](https://ahnheejong.gitbook.io/ts-for-jsdev/04-interface-and-class/extending-interfaces.md): 한 인터페이스가 다른 인터페이스를 확장하는 상황에 대해 이야기한다.
- [4.4 클래스](https://ahnheejong.gitbook.io/ts-for-jsdev/04-interface-and-class/classes.md): 객체 지향적 구조화 수단인 클래스에 대해 다룬다.
- [4.5 클래스 확장](https://ahnheejong.gitbook.io/ts-for-jsdev/04-interface-and-class/extending-classes.md)
- [4.6 클래스 심화](https://ahnheejong.gitbook.io/ts-for-jsdev/04-interface-and-class/class-advanced.md)
- [4.6.1 스태틱 멤버](https://ahnheejong.gitbook.io/ts-for-jsdev/04-interface-and-class/class-advanced/static-members.md)
- [4.6.2 접근 제어자](https://ahnheejong.gitbook.io/ts-for-jsdev/04-interface-and-class/class-advanced/access-specifiers.md)
- [4.6.3 접근자](https://ahnheejong.gitbook.io/ts-for-jsdev/04-interface-and-class/class-advanced/accessors.md)
- [4.6.4 추상 클래스](https://ahnheejong.gitbook.io/ts-for-jsdev/04-interface-and-class/class-advanced/abstract-classes.md)
- [4.7 인터페이스와 클래스의 관계](https://ahnheejong.gitbook.io/ts-for-jsdev/04-interface-and-class/connecting-interface-and-class.md): 인터페이스와 클래스가 서로 어떤 방식으로 의존할 수 있는지에 대해 이야기한다.
- [4.8 맺으며](https://ahnheejong.gitbook.io/ts-for-jsdev/04-interface-and-class/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/04-interface-and-class.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.
