Skip to content

Commit c7609e1

Browse files
committed
init
1 parent 3a50924 commit c7609e1

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
title: Creating Types from Types
3+
layout: docs
4+
permalink: /ko/docs/handbook/2/types-from-types.html
5+
oneline: "An overview of the ways in which you can create more types from existing types."
6+
---
7+
8+
TypeScript's type system is very powerful because it allows expressing types _in terms of other types_.
9+
10+
The simplest form of this idea is generics. Additionally, we have a wide variety of _type operators_ available to use.
11+
It's also possible to express types in terms of _values_ that we already have.
12+
13+
By combining various type operators, we can express complex operations and values in a succinct, maintainable way.
14+
In this section we'll cover ways to express a new type in terms of an existing type or value.
15+
16+
- [Generics](/docs/handbook/2/generics.html) - Types which take parameters
17+
- [Keyof Type Operator](/docs/handbook/2/keyof-types.html) - Using the `keyof` operator to create new types
18+
- [Typeof Type Operator](/docs/handbook/2/typeof-types.html) - Using the `typeof` operator to create new types
19+
- [Indexed Access Types](/docs/handbook/2/indexed-access-types.html) - Using `Type['a']` syntax to access a subset of a type
20+
- [Conditional Types](/docs/handbook/2/conditional-types.html) - Types which act like if statements in the type system
21+
- [Mapped Types](/docs/handbook/2/mapped-types.html) - Creating types by mapping each property in an existing type
22+
- [Template Literal Types](/docs/handbook/2/template-literal-types.html) - Mapped types which change properties via template literal strings

0 commit comments

Comments
 (0)