# 基礎

本部分介紹了 TypeScript 中的常用型別和一些基本概念，旨在讓大家對 TypeScript 有個初步的理解。具體內容包括：

* [原始資料型別](/typescript-tutorial/basics/primitive-data-types.md)
* [任意值](/typescript-tutorial/basics/any.md)
* [型別推論](/typescript-tutorial/basics/type-inference.md)
* [聯合型別](/typescript-tutorial/basics/union-types.md)
* [物件的型別——介面](/typescript-tutorial/basics/type-of-object-interfaces.md)
* [陣列的型別](/typescript-tutorial/basics/type-of-array.md)
* [函式的型別](/typescript-tutorial/basics/type-of-function.md)
* [型別斷言](/typescript-tutorial/basics/type-assertion.md)
* [宣告檔案](/typescript-tutorial/basics/declaration-files.md)
* [內建物件](/typescript-tutorial/basics/built-in-objects.md)
* [上一章：Hello TypeScript](/typescript-tutorial/introduction/hello-typescript.md)
* [下一章：原始資料型別](/typescript-tutorial/basics/primitive-data-types.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://willh.gitbook.io/typescript-tutorial/basics.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.
