> For the complete documentation index, see [llms.txt](https://ahnheejong.gitbook.io/ts-for-jsdev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ahnheejong.gitbook.io/ts-for-jsdev/04-interface-and-class.md).

# 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://ahnheejong.gitbook.io/ts-for-jsdev/04-interface-and-class.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
