---
date: 2020-09-29
id: 89671783-1085-4a00-9147-a377db9b19bc
title: TypeScript
---

# Basic Annotations

-   [Primitive Types](20200929161544-primitive_types)
-   [Arrays](20200929162129-arrays)
-   [Inline Type Annotation](20200929162417-inline_type_annotation)

# Type System

-   [Ambient Declarations](20200930105954-ambient_declarations)
-   [Interfaces](20200929162220-interfaces)
-   [Enums](20200930110721-typescript_enums)
-   [lib.d.ts](20201001105545-lib_d_ts)
-   [Functions](20201001110806-typescript_functions)
-   [Callable](20201001112126-typescript_callable)
-   [Type Assertion](20201002101745-typescript_type_assertion)
-   [Type Guard](20201002102455-typescript_type_guard)
-   [Literal Types](20201002103357-typescript_literal_types)
-   [Readonly](20201005171253-readonly)
-   [Generics](20200929163051-typescript_generics)
-   [Intersection Type](20200929163316-typescript_intersection_type)
-   [Tuple Type](20200929163624-typescript_tuple_type)
-   [TypeScript Type Alias](20200929163825-typescript_type_alias)
-   [Never Type](20201007095614-typescript_never_type)
-   [Index Signatures](20201008092225-index_signatures)
-   [Classes](20201009104411-typescript_classes)

## Unions

-   [Union Type](20200929163219-typescript_union_type)
-   [Discriminated Union](20201007101133-typescript_discriminated_union)

# Related pages

-   [JavaScript](20200613170905-javascript)

# Books

-   [TypeScript Deep Dive](https://basarat.gitbook.io/typescript/)
-   [Style Guide](https://basarat.gitbook.io/typescript/styleguide)

# Changes

-   [TypeScript 4.0](20201009104050-typescript_4_0)
