Skip to content

Commit abeae6f

Browse files
bumkeyydvlprsh
andauthored
Update docs/documentation/ko/handbook-v2/Type Manipulation/Conditional Types.md
Co-authored-by: Seohee Park <[email protected]>
1 parent af93ec8 commit abeae6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/documentation/ko/handbook-v2/Type Manipulation/Conditional Types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ type DogMessageContents = MessageOf<Dog>;
155155

156156
참값 분기내에서는 TypeScript는 `T``message` 프로퍼티를 가지고 _있을 것을_ 알 수 있습니다.
157157

158-
또 다른 예제에서 배열 타입이면 요소 타입으로 평평하게 맞추지만, 배열 타입이 아니면 그대로 유지하는 `Flatten` 타입을 만들 수 있습니다.
158+
또 다른 예제에서 배열 타입이면 배열의 개별 요소 타입으로 평탄화 시키지만, 배열 타입이 아니면 그대로 유지하는 `Flatten` 타입을 만들 수 있습니다.
159159

160160
```ts twoslash
161161
type Flatten<T> = T extends any[] ? T[number] : T;

0 commit comments

Comments
 (0)