Skip to content

Commit 556987f

Browse files
committed
Fix the sentence simply
1 parent d89b106 commit 556987f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/playground/ko/3-7/Types and Code Flow/Assertion Functions.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ assert(typeof maybeStringOrNumber === "string");
2323
// 코드가 무엇인지 알아내기 위해
2424
// 이런 함수의 종류를 사용할 수 있습니다.
2525
// 아래의 변수를 호버해보면 - 하나의 문자열 또는 숫자에서
26-
// 단지 하나의 문자열로 좁혀진 것을 확인할 수 있습니다.
26+
// 하나의 문자열로 좁혀진 것을 확인할 수 있습니다.
2727

2828
maybeStringOrNumber;
2929

3030
// 추론된 코드 전체에 있는 타입을 보장하기 위해
3131
// 단언 함수를 사용할 수 있습니다.
3232
// 예를 들어 TypeScript는 위에 assert 선언을 통해
3333
// 파라미터에 타입을 추가할 필요 없이
34-
// 함수가 숫자를 반환한다는 것을 알고 있습니다.
34+
// 함수가 숫자를 반환한다는 것을 알고 있습니다.
3535

3636
function multiply(x: any, y: any) {
3737
assert(typeof x === "number");

0 commit comments

Comments
 (0)