You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/documentation/ko/release-notes/TypeScript 4.9.md
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -433,11 +433,11 @@ You can read up more on these optimizations on their respective pull requests:
433
433
TypeScript 은 major break 는 피하기위해 노력하지만, 내장 라이브러리의 아주 작은 변경조차도 문제가 될 수 있습니다.
434
434
DOM과 `lib.d.ts` 업데이트의 결과로 major break 는 일어나지 않을 것으로 기대하지만, 종종 작은 문제가 생길 수도 있습니다.
435
435
436
-
### Better Types for `Promise.resolve`
436
+
### `Promise.resolve`를 위한 보다 나은 타입들
437
437
438
-
`Promise.resolve`now uses the `Awaited` type to unwrap Promise-like types passed to it.
439
-
This means that it more often returns the right `Promise`type, but that improved type can break existing code if it was expecting `any`or`unknown`instead of a `Promise`.
440
-
For more information, [see the original change](https://github.com/microsoft/TypeScript/pull/33074).
438
+
`Promise.resolve`는 현재 이것으로 전달되는 Promise-like 타입을 멋겨내기 위해 `Awaited` 타입을 사용하고 있습니다.
439
+
이는 종종 더 정확한 `Promise`타입을 반환하지만, 이 개선된 타입이 `Promise` 대신 `any`또는`unknown`타입을 기대하고 있던 기존 코드를 깨버릴 수도 있습니다.
440
+
더 자세한 정보는 [변경 원본](https://github.com/microsoft/TypeScript/pull/33074)을 참고하세요.
0 commit comments