Skip to content

Commit 3423817

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

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
@@ -118,7 +118,7 @@ let c = createLabel(Math.random() ? "hello" : 42);
118118
type MessageOf<T> = T["message"];
119119
```
120120

121-
에제에서, `T``message` 프로퍼티를 가지고 있는지 알 수 없기 때문에 TypeScript에서 오류가 발생합니다.
121+
예제에서, `T``message` 프로퍼티를 가지고 있는지 알 수 없기 때문에 TypeScript에서 오류가 발생합니다.
122122
`T`의 타입을 제한해서 TypeScript가 더이상 오류를 내지 않도록 만들 수 있습니다.
123123

124124
```ts twoslash

0 commit comments

Comments
 (0)