File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
docs/documentation/ko/release-notes Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ setVerticalAlignment("middel");
26
26
27
27
28
28
29
+
29
30
또한 매핑된 타입에서 프로퍼티 이름으로서 string 리터럴을 사용할 수 있다는 점에서도 장점을 가집니다.
30
31
31
32
이러한 면에서, string 리터럴을 건축 블럭(building blocks)들처럼 사용할 수 있습니다.
@@ -111,6 +112,7 @@ person.on("firstNameChanged", () => {
111
112
112
113
113
114
115
+
114
116
``` ts twslash
115
117
type PropEventSource <T > = {
116
118
on(eventName : ` ${string & keyof T }Changed ` , callback : () => void ): void ;
@@ -306,7 +308,6 @@ declare function customThen<T, U>(
306
308
307
309
이러한 재귀적 타입들은 강력하지만 책임감 있고, 적게 사용해야 합니다.
308
310
309
-
310
311
먼저, 이러한 재귀적 타입들은 많은 작업을 수행하게 하고, 따라서 타입 확인 시간을 늘어나게 합니다.
311
312
콜라츠 추측과, 피보나치 수열의 숫자들을 모델링하는 것은 재미있겠지만, 절대로 npm의 ` .d .ts ` 파일에서는 하지 마세요.
312
313
@@ -573,6 +574,7 @@ TypeScript 4.1의 이 새로운 기능에서 잠재적으로 `void` 전달 파
573
574
574
575
575
576
577
+
576
578
` ` ` ts
577
579
new Promise <void >((resolve ) => {
578
580
// ^^^^^^
You can’t perform that action at this time.
0 commit comments