File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed
docs/documentation/ko/handbook-v2/Type Manipulation Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change
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
You can’t perform that action at this time.
0 commit comments